]> Dogcows Code - chaz/yoink/commitdiff
beginning netbsd packaging script
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Thu, 18 Mar 2010 09:37:52 +0000 (03:37 -0600)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Thu, 18 Mar 2010 09:37:52 +0000 (03:37 -0600)
Makefile.am
configure.ac

index 36d5fab3c44f9f2cddca51431bbf5580ae78207b..ad016214c452aa207672d9271eff38fafa7d7257 100644 (file)
@@ -3,7 +3,7 @@ ACLOCAL_AMFLAGS = -I m4
 
 SUBDIRS = data doc src
 
-EXTRA_DIST = autogen.sh extra
+EXTRA_DIST = autogen.sh
 
 
 .PHONY: run debug docs portable installer
@@ -28,6 +28,13 @@ debug: all
 
 endif
 
+if NETBSD
+
+package: all
+       $(SH) arch/netbsd/makepackage.sh
+
+endif
+
 docs:
        $(DOXYGEN)
 
index dec252086451811915082f2cef66e2b530405dd9..6ba6e540241085bee8606d56eec067f692d6e8e2 100644 (file)
@@ -38,26 +38,26 @@ AC_SUBST(DOXYGEN)
 
 case "${host}" in
        *mingw32*)
-               MINGW32=yes
                WIN32=yes
-               AC_PATH_PROGS([WINDRES], [windres $host_alias-windres $host_os-windres])
+               AC_PATH_PROGS([MAKENSIS], [makensis])
+               AC_PATH_PROGS([WINDRES],
+                                         [windres $host_alias-windres $host_os-windres])
                if test "x$WINDRES" = x
                then
                        AC_MSG_ERROR([windres could not be found])
                fi
-               AC_PATH_PROGS([MAKENSIS], [makensis])
-       ;;
-       *cygwin*)
-               CYGWIN=yes
-               WIN32=yes
        ;;
        *-apple-darwin*)
                MACOSX=yes
-               LIBS="$LIBS -Wl,-framework"
+       ;;
+       *netbsd*)
+               NETBSD=yes
+               AC_PATH_PROGS([PKGLINT], [pkglint])
        ;;
 esac
 
-AM_CONDITIONAL([WIN32], test "$WIN32" = "yes")
+AM_CONDITIONAL([WIN32],  test "$WIN32" = "yes")
+AM_CONDITIONAL([NETBSD], test "$NETBSD" = "yes")
 
 
 #
This page took 0.027046 seconds and 4 git commands to generate.