diff --git a/archivers/arc/Makefile b/archivers/arc/Makefile index 4b234d299aad..db95ea858997 100644 --- a/archivers/arc/Makefile +++ b/archivers/arc/Makefile @@ -13,18 +13,16 @@ LICENSE= GPLv2 CONFLICTS= php5-arcanist-* +OPTIONS_DEFINE= DOCS + PLIST_FILES= bin/arc bin/marc man/man1/arc.1.gz PORTDOCS= Arc521.doc -.include - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/arc ${WRKSRC}/marc\ ${STAGEDIR}/${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/arc.1 ${STAGEDIR}/${PREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}/${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Arc521.doc ${STAGEDIR}/${DOCSDIR} -.endif -.include +.include diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile index adaace73153c..b21a0464845f 100644 --- a/archivers/file-roller/Makefile +++ b/archivers/file-roller/Makefile @@ -25,6 +25,7 @@ USE_GNOME= gnomeprefix intlhack gnomedocutils gtk20 gconf2 GNOME_DESKTOP_VERSION=2 USE_XORG= sm GNU_CONFIGURE= yes +OPTIONS_SUB= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-packagekit @@ -37,15 +38,8 @@ NAUTILUS_DESC= Enable Nautilus extension OPTIONS_DEFAULT=NAUTILUS -.include - -.if ${PORT_OPTIONS:MNAUTILUS} -USE_GNOME+= nautilus2 -PLIST_SUB+= NAUTILUS="" -.else -PLIST_SUB+= NAUTILUS="@comment " -CONFIGURE_ARGS+=--disable-nautilus-actions -.endif +NAUTILUS_USE= GNOME=nautilus2 +NAUTILUS_CONFIGURE_OFF= --disable-nautilus-actions post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ @@ -53,11 +47,9 @@ post-patch: ${WRKSRC}/src/fr-command-zip.c post-install: -.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include diff --git a/archivers/gzip/Makefile b/archivers/gzip/Makefile index d73e46484187..2b8c88b8bd1b 100644 --- a/archivers/gzip/Makefile +++ b/archivers/gzip/Makefile @@ -21,18 +21,12 @@ OPTIONS_DEFINE= RSYNCABLE DOCS OPTIONS_DEFAULT= RSYNCABLE RSYNCABLE_DESC= Include --rsyncable patch -.include - -.if ${PORT_OPTIONS:MRSYNCABLE} -EXTRA_PATCHES= ${FILESDIR}/extra-patch-gzip-rsyncable.diff -.endif +RSYNCABLE_EXTRA_PATCHES= ${FILESDIR}/extra-patch-gzip-rsyncable.diff post-install: -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${DOC_FILES} @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include diff --git a/archivers/javatar/Makefile b/archivers/javatar/Makefile index 37906a65c275..3c097d308547 100644 --- a/archivers/javatar/Makefile +++ b/archivers/javatar/Makefile @@ -25,8 +25,6 @@ PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,} OPTIONS_DEFINE= DOCS -.include - do-install: @${ECHO_MSG} -n ">> Install JAR file in ${STAGEDIR}${JAVAJARDIR}..." @${INSTALL_DATA} ${WRKSRC}/jars/tar.jar ${STAGEDIR}${JAVAJARDIR}/ diff --git a/archivers/lha-ac/Makefile b/archivers/lha-ac/Makefile index e405f71bf51e..e94154052dee 100644 --- a/archivers/lha-ac/Makefile +++ b/archivers/lha-ac/Makefile @@ -22,14 +22,7 @@ MAN1_JA= lha-ac.1 PLIST_FILES+= ${__MANPAGES} OPTIONS_DEFINE= NLS - -.include - -.if ${PORT_OPTIONS:MNLS} -CONFIGURE_ARGS+= --disable-multibyte-filename -.else -CONFIGURE_ARGS+= --enable-multibyte-filename=auto -.endif +NLS_CONFIGURE_ENABLE= multibyte-filename=auto do-install: -${MKDIR} ${STAGEDIR}${PREFIX}/man/ja/man1 diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile index 61e8eff4a96f..65bd291a234a 100644 --- a/archivers/libarchive/Makefile +++ b/archivers/libarchive/Makefile @@ -78,31 +78,19 @@ CFLAGS+= "-I${LOCALBASE}/include" CPPFLAGS+= "-I${LOCALBASE}/include" LDFLAGS+= "-L${LOCALBASE}/lib" -.include +LIBXML2_USE= GNOME=libxml2 +LIBXML2_CONFIGURE_WITH= xml2 +LIBXML2_CFLAGS= -DHAVE_BSDXML_H=1 +LIBXML2_LDFLAGS= -lbsdxml -.if ${PORT_OPTIONS:MLIBXML2} -USE_GNOME+= libxml2 -CONFIGURE_ARGS+= --with-xml2 -.else -CFLAGS+= -DHAVE_BSDXML_H=1 -LDFLAGS+= -lbsdxml -CONFIGURE_ARGS+= --without-xml2 -.endif +LZO_LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2 +LZO_CONFIGURE_WITH= lzo2 -.if ${PORT_OPTIONS:MLZO} -LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2 -CONFIGURE_ARGS+= --with-lzo2 -.else -CONFIGURE_ARGS+= --without-lzo2 -.endif - -.if ${PORT_OPTIONS:MNETTLE} -LIB_DEPENDS+= nettle:${PORTSDIR}/security/nettle -CONFIGURE_ARGS+= --without-openssl --with-nettle -.else -USE_OPENSSL= yes -CONFIGURE_ARGS+= --with-openssl --without-nettle -.endif +NETTLE_LIB_DEPENDS= nettle:${PORTSDIR}/security/nettle +NETTLE_CONFIGURE_WITH= nettle +NETTLE_CONFIGURE_ON= --without-openssl +NETTLE_USE_OFF= OPENSSL=yes +NETTLE_CONFIGURE_OFF= --with-openssl check: (cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} check) diff --git a/archivers/libcomprex/Makefile b/archivers/libcomprex/Makefile index 8ac3131d1ef2..8fac0472fff1 100644 --- a/archivers/libcomprex/Makefile +++ b/archivers/libcomprex/Makefile @@ -20,9 +20,9 @@ USES= libtool:keepla pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes -NLS_USES+= gettext -NLS_CPPFLAGS+= -I${LOCALBASE}/include -NLS_LDFLAGS+= -L${LOCALBASE}/lib -lintl +NLS_USES= gettext +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl NLS_CONFIGURE_ARGS= nls .include diff --git a/archivers/liborange/Makefile b/archivers/liborange/Makefile index 7a309e388727..98ae3dcb9514 100644 --- a/archivers/liborange/Makefile +++ b/archivers/liborange/Makefile @@ -28,43 +28,34 @@ CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes +LIBSYNCE_LIB_DEPENDS= libsynce.so:${PORTSDIR}/palm/synce-libsynce +LIBSYNCE_CONFIGURE_WITH= libsynce + +LIBDYNAMITE_LIB_DEPENDS= libdynamite.so:${PORTSDIR}/archivers/libdynamite +LIBDYNAMITE_CONFIGURE_WITH= libdynamite + +LIBUNSHIELD_LIB_DEPENDS= libunshield.so:${PORTSDIR}/archivers/unshield +LIBUNSHIELD_CONFIGURE_WITH= libunshield + +INNO_CONFIGURE_ENABLE= inno + +VISE_CONFIGURE_ENABLE= vise + +MSI_LIB_DEPENDS= libgsf-1.so.114:${PORTSDIR}/devel/libgsf +MSI_CONFIGURE_ENABLE= msi libgsf + .include .if ${PORT_OPTIONS:MLIBSYNCE} -CONFIGURE_ARGS+= --without-libsynce REQUIRES+= libsynce -.else -LIB_DEPENDS+= libsynce.so:${PORTSDIR}/palm/synce-libsynce -CONFIGURE_ARGS+= --with-libsynce .endif .if ${PORT_OPTIONS:MLIBDYNAMITE} -CONFIGURE_ARGS+= --without-libdynamite REQUIRES+= libdynamite -.else -LIB_DEPENDS+= libdynamite.so:${PORTSDIR}/archivers/libdynamite -CONFIGURE_ARGS+= --with-libdynamite .endif .if ${PORT_OPTIONS:MLIBUNSHIELD} -CONFIGURE_ARGS+= --without-libunshield REQUIRES+= libunshield -.else -LIB_DEPENDS+= libunshield.so:${PORTSDIR}/archivers/unshield -CONFIGURE_ARGS+= --with-libunshield -.endif - -.if ${PORT_OPTIONS:MINNO} -CONFIGURE_ARGS+= --enable-inno -.endif - -.if ${PORT_OPTIONS:MVISE} -CONFIGURE_ARGS+= --enable-vise -.endif - -.if ${PORT_OPTIONS:MMSI} -CONFIGURE_ARGS+= --enable-msi --with-libgsf -LIB_DEPENDS+= libgsf-1.so.114:${PORTSDIR}/devel/libgsf .endif post-patch: diff --git a/archivers/libpar2/Makefile b/archivers/libpar2/Makefile index 042f869b647c..5ac80c258671 100644 --- a/archivers/libpar2/Makefile +++ b/archivers/libpar2/Makefile @@ -24,17 +24,13 @@ USES= pkgconfig libtool OPTIONS_DEFINE= DOCS -.include - post-patch: @${REINPLACE_CMD} -e "s/-lstdc++//g" \ ${WRKSRC}/Makefile.in \ ${WRKSRC}/configure post-install: -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.endif .include diff --git a/archivers/linux-f10-upx/Makefile b/archivers/linux-f10-upx/Makefile index 7afc445c66a7..83eb22afae17 100644 --- a/archivers/linux-f10-upx/Makefile +++ b/archivers/linux-f10-upx/Makefile @@ -25,4 +25,6 @@ PORTDOCS= BUGS COPYING LICENSE NEWS PROJECTS README README.1ST \ THANKS TODO elf-to-mem.txt filter.txt loader.txt selinux.txt DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr +OPTIONS_DEFINE= DOCS + .include diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile index c0d94bf5a13c..d6acc358ba28 100644 --- a/archivers/lzo2/Makefile +++ b/archivers/lzo2/Makefile @@ -20,11 +20,7 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS EXAMPLES -.include - -.if !${PORT_OPTIONS:MDOCS} -INSTALL_TARGET= install-exec install-pkgincludeHEADERS -.endif +DOCS_INSTALL_TARGET_OFF= install-exec install-pkgincludeHEADERS post-build: .if !defined(WITHOUT_CHECKS) @@ -35,17 +31,13 @@ post-build: post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblzo2.so.2 -.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README .for i in AUTHORS BUGS COPYING NEWS README THANKS ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/ -.endif -.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/[a-z]*.[ch] ${STAGEDIR}${EXAMPLESDIR}/ -.endif .include diff --git a/archivers/makeself/Makefile b/archivers/makeself/Makefile index 09327daededf..6984f60706f5 100644 --- a/archivers/makeself/Makefile +++ b/archivers/makeself/Makefile @@ -26,8 +26,6 @@ PORTDOCS= README OPTIONS_DEFINE= DOCS -.include - post-patch: @${REINPLACE_CMD} -e \ 's|#!/bin/sh|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/makeself.sh @@ -38,9 +36,7 @@ do-install: @${LN} -sf ${i}.sh ${STAGEDIR}${PREFIX}/bin/${i} .endfor -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.endif .include diff --git a/archivers/nomarch/Makefile b/archivers/nomarch/Makefile index ea24da30c3cf..126dc359e4b7 100644 --- a/archivers/nomarch/Makefile +++ b/archivers/nomarch/Makefile @@ -14,6 +14,8 @@ PLIST_FILES= bin/nomarch man/man1/nomarch.1.gz PORTDOCS= COPYING ChangeLog NEWS README TODO MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nomarch ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/nomarch.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 diff --git a/archivers/p7zip/Makefile b/archivers/p7zip/Makefile index 7be0c901884d..69e8a1b271ad 100644 --- a/archivers/p7zip/Makefile +++ b/archivers/p7zip/Makefile @@ -24,8 +24,6 @@ CFLAGS_ia64= -fPIC OPTIONS_DEFINE= DOCS -.include - post-patch: ${SED} -e 's!g\+\+!${CXX}!' \ -e 's!gcc!${CC}!' \ diff --git a/archivers/pear-Horde_Compress/Makefile b/archivers/pear-Horde_Compress/Makefile index 92108ac1d06b..9215b908255b 100644 --- a/archivers/pear-Horde_Compress/Makefile +++ b/archivers/pear-Horde_Compress/Makefile @@ -17,11 +17,8 @@ USE_HORDE_RUN= Horde_Exception \ Horde_Util \ Horde_Stream_Filter +ZLIP_USE= PHP=zlib + .include - -.if ${PORT_OPTIONS:MZLIB} -USE_PHP+= zlib -.endif - .include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk" .include diff --git a/archivers/pigz/Makefile b/archivers/pigz/Makefile index 3316d4816b3e..3d47010d39c1 100644 --- a/archivers/pigz/Makefile +++ b/archivers/pigz/Makefile @@ -13,9 +13,7 @@ COMMENT= Parallel GZIP USES= gmake PLIST_FILES= bin/pigz bin/pigzn bin/pigzt bin/unpigz -.if !defined(NO_INSTALL_MANPAGES) PLIST_FILES+= man/man1/pigz.1.gz -.endif post-patch: ${REINPLACE_CMD} -e 's/ -lz/ -lm -lz/g' ${WRKSRC}/Makefile @@ -24,8 +22,6 @@ do-install: .for FILE in pigz pigzn pigzt unpigz ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${PREFIX}/bin .endfor -.if !defined(NO_INSTALL_MANPAGES) ${INSTALL_MAN} ${WRKSRC}/pigz.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ -.endif .include diff --git a/archivers/py-lzma/Makefile b/archivers/py-lzma/Makefile index d4ce79768db7..1db404ce5a1f 100644 --- a/archivers/py-lzma/Makefile +++ b/archivers/py-lzma/Makefile @@ -27,12 +27,8 @@ PORTDOCS= usage.txt OPTIONS_DEFINE= DOCS -.include - post-install: -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} -.endif .include diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile index 57b5645ae7bd..52b20aba2095 100644 --- a/archivers/rar/Makefile +++ b/archivers/rar/Makefile @@ -23,6 +23,8 @@ PLIST_FILES= bin/rar lib/default.sfx etc/rarfiles.lst man/cat1/rar.1.gz PORTDOCS= technote.txt license.txt whatsnew.txt order.htm \ readme.txt +OPTIONS_DEFINE= DOCS + .include .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" diff --git a/archivers/rpm4/Makefile b/archivers/rpm4/Makefile index 64858bc42c29..23e75a064bd4 100644 --- a/archivers/rpm4/Makefile +++ b/archivers/rpm4/Makefile @@ -16,7 +16,7 @@ LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \ libnss3.so:${PORTSDIR}/security/nss BUILD_DEPENDS= ${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed -OPTIONS_DEFINE= PYTHON NLS +OPTIONS_DEFINE= PYTHON NLS DOCS OPTIONS_DEFAULT=PYTHON NLS OPTIONS_SUB= yes PYTHON_CONFIGURE_ENABLE=python diff --git a/archivers/ruby-zip/Makefile b/archivers/ruby-zip/Makefile index f581d46ef5c2..2c0e4dfee583 100644 --- a/archivers/ruby-zip/Makefile +++ b/archivers/ruby-zip/Makefile @@ -22,6 +22,8 @@ NO_BUILD= yes DOCS= ChangeLog NEWS README TODO EXAMPLES= samples/* +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/zip ${INSTALL_DATA} ${WRKSRC}/lib/zip/*.rb ${STAGEDIR}${RUBY_SITELIBDIR}/zip diff --git a/archivers/squeeze/Makefile b/archivers/squeeze/Makefile index b0232c47b4c5..58303e5297bc 100644 --- a/archivers/squeeze/Makefile +++ b/archivers/squeeze/Makefile @@ -25,16 +25,11 @@ USE_GNOME= gtk20 glib20 intltool intlhack USE_LDCONFIG= yes MAKE_JOB_SAFE= yes -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS +OPTIONS_SUB= yes .include -.if ${PORT_OPTIONS:MDOCS} -PLIST_SUB= GTKDOC="" -.else -PLIST_SUB= GTKDOC="@comment " -.endif - post-patch: # Needed to remove gtk-doc installation .if empty(PORT_OPTIONS:MDOCS) diff --git a/archivers/squeeze/pkg-plist b/archivers/squeeze/pkg-plist index 035b3a26fe65..0e64a2031508 100644 --- a/archivers/squeeze/pkg-plist +++ b/archivers/squeeze/pkg-plist @@ -30,28 +30,28 @@ share/locale/tr/LC_MESSAGES/squeeze.mo share/locale/uk/LC_MESSAGES/squeeze.mo share/pixmaps/squeeze/archive-add.png share/pixmaps/squeeze/archive-extract.png -%%GTKDOC%%share/gtk-doc/html/libsqueeze/LSQArchive.html -%%GTKDOC%%share/gtk-doc/html/libsqueeze/LSQArchiveCommand.html -%%GTKDOC%%share/gtk-doc/html/libsqueeze/archiving.html -%%GTKDOC%%share/gtk-doc/html/libsqueeze/home.png -%%GTKDOC%%share/gtk-doc/html/libsqueeze/index.html -%%GTKDOC%%share/gtk-doc/html/libsqueeze/index.sgml -%%GTKDOC%%share/gtk-doc/html/libsqueeze/ix01.html -%%GTKDOC%%share/gtk-doc/html/libsqueeze/left.png -%%GTKDOC%%share/gtk-doc/html/libsqueeze/libsqueeze-LSQArchiveSupport.html -%%GTKDOC%%share/gtk-doc/html/libsqueeze/libsqueeze-libsqueeze.html -%%GTKDOC%%share/gtk-doc/html/libsqueeze/libsqueeze.devhelp -%%GTKDOC%%share/gtk-doc/html/libsqueeze/libsqueeze.devhelp2 -%%GTKDOC%%share/gtk-doc/html/libsqueeze/libsqueeze.html -%%GTKDOC%%share/gtk-doc/html/libsqueeze/right.png -%%GTKDOC%%share/gtk-doc/html/libsqueeze/style.css -%%GTKDOC%%share/gtk-doc/html/libsqueeze/up.png +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/LSQArchive.html +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/LSQArchiveCommand.html +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/archiving.html +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/home.png +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/index.html +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/index.sgml +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/ix01.html +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/left.png +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/libsqueeze-LSQArchiveSupport.html +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/libsqueeze-libsqueeze.html +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/libsqueeze.devhelp +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/libsqueeze.devhelp2 +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/libsqueeze.html +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/right.png +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/style.css +%%PORTDOCS%%share/gtk-doc/html/libsqueeze/up.png share/icons/hicolor/16x16/apps/squeeze.png share/icons/hicolor/48x48/apps/squeeze.png share/icons/hicolor/scalable/apps/squeeze.svg share/applications/squeeze.desktop @dirrmtry share/pixmaps/squeeze -%%GTKDOC%%@dirrm share/gtk-doc/html/libsqueeze +%%PORTDOCS%%@dirrm share/gtk-doc/html/libsqueeze @dirrmtry libexec/thunar-archive-plugin @dirrmtry include/libsqueeze-0.2/libsqueeze @dirrmtry include/libsqueeze-0.2 diff --git a/archivers/unadf/Makefile b/archivers/unadf/Makefile index 065f2328cfd9..c4cb9acce097 100644 --- a/archivers/unadf/Makefile +++ b/archivers/unadf/Makefile @@ -43,6 +43,8 @@ FAQSIMGS= FAQ/image/adf_dir.gif FAQ/image/adf_file.gif PORTDOCS= * +OPTIONS_DEFINE= DOCS + # XXX: work around an issue with automake-1.13 erroring out on a # non-existent m4 directory before libtoolize creates it pre-configure:: diff --git a/archivers/unarj/Makefile b/archivers/unarj/Makefile index ef6ac256e05f..3be736b938b9 100644 --- a/archivers/unarj/Makefile +++ b/archivers/unarj/Makefile @@ -15,6 +15,8 @@ COMMENT= Allows files to be extracted from ARJ archives PLIST_FILES= bin/unarj PORTDOCS= unarj.txt technote.txt +OPTIONS_DEFINE= DOCS + post-patch: ${CP} ${FILESDIR}/sanitize.c ${WRKSRC} diff --git a/archivers/xarchive/Makefile b/archivers/xarchive/Makefile index aeb977cb7058..0ae5d73cad8f 100644 --- a/archivers/xarchive/Makefile +++ b/archivers/xarchive/Makefile @@ -27,14 +27,14 @@ RPM_DESC= RPM archive support ZIP_DESC= ZIP archive support 7ZIP_RUN_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip -ARJ_RUN_DEPENDS+= arj:${PORTSDIR}/archivers/arj -ACE_RUN_DEPENDS+= unace:${PORTSDIR}/archivers/unace -DEB_RUN_DEPENDS+= dpkg-deb:${PORTSDIR}/archivers/dpkg -RAR_RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar \ +ARJ_RUN_DEPENDS= arj:${PORTSDIR}/archivers/arj +ACE_RUN_DEPENDS= unace:${PORTSDIR}/archivers/unace +DEB_RUN_DEPENDS= dpkg-deb:${PORTSDIR}/archivers/dpkg +RAR_RUN_DEPENDS= rar:${PORTSDIR}/archivers/rar \ unrar:${PORTSDIR}/archivers/unrar -RPM_RUN_DEPENDS+= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \ +RPM_RUN_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \ rpm:${PORTSDIR}/archivers/rpm4 -ZIP_RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ +ZIP_RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \ unzip:${PORTSDIR}/archivers/unzip .include diff --git a/archivers/xarchiver/Makefile b/archivers/xarchiver/Makefile index c63720235cff..bb0a1658f39f 100644 --- a/archivers/xarchiver/Makefile +++ b/archivers/xarchiver/Makefile @@ -22,20 +22,16 @@ GNU_CONFIGURE= yes INSTALLS_ICONS= yes OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_CPPFLAGS+= -I${LOCALBASE}/include +NLS_LDFLAGS+= -L${LOCALBASE}/lib .include -.if !empty(PORT_OPTIONS:MNLS) -USES+= gettext -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif - post-patch: -.if ! ${PORT_OPTIONS:MDOCS} +.if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in .endif .if empty(PORT_OPTIONS:MNLS) diff --git a/archivers/xmill/Makefile b/archivers/xmill/Makefile index 0d3b05896c47..6f0bed285028 100644 --- a/archivers/xmill/Makefile +++ b/archivers/xmill/Makefile @@ -23,8 +23,6 @@ PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES -.include - post-patch: # Allow to build with modern GCC @${REINPLACE_CMD} -e 's,friend,& class,' ${WRKSRC}/XMill/*.?pp \