svn commit: r325358 - in head: audio/libfishsound databases/kyototycoon databases/xapian-bindings databases/xapian-core devel/libcheck graphics/lcms graphics/lcms2 textproc/confget textproc/p5-XML-...
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Aug 25 16:15:01 UTC 2013
Author: sunpoet
Date: Sun Aug 25 16:14:58 2013
New Revision: 325358
URL: http://svnweb.freebsd.org/changeset/ports/325358
Log:
- Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo)
Modified:
head/audio/libfishsound/Makefile
head/databases/kyototycoon/Makefile
head/databases/xapian-bindings/Makefile
head/databases/xapian-core/Makefile
head/devel/libcheck/Makefile
head/graphics/lcms/Makefile
head/graphics/lcms2/Makefile
head/textproc/confget/Makefile
head/textproc/p5-XML-XML2JSON/Makefile
head/www/xapian-omega/Makefile
Modified: head/audio/libfishsound/Makefile
==============================================================================
--- head/audio/libfishsound/Makefile Sun Aug 25 16:14:28 2013 (r325357)
+++ head/audio/libfishsound/Makefile Sun Aug 25 16:14:58 2013 (r325358)
@@ -31,7 +31,7 @@ PORTDOCS= *
.endif
post-patch:
-.if empty(PORT_OPTIONS:MDOCS) || empty(PORT_OPTIONS:MDOXYGEN)
+.if !${PORT_OPTIONS:MDOCS} || !${PORT_OPTIONS:MDOXYGEN}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.in
.endif
Modified: head/databases/kyototycoon/Makefile
==============================================================================
--- head/databases/kyototycoon/Makefile Sun Aug 25 16:14:28 2013 (r325357)
+++ head/databases/kyototycoon/Makefile Sun Aug 25 16:14:58 2013 (r325358)
@@ -34,7 +34,7 @@ MAN1= ktremotemgr.1 \
.include <bsd.port.options.mk>
post-patch:
-.if empty(PORT_OPTIONS:MDOCS)
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in
.endif
Modified: head/databases/xapian-bindings/Makefile
==============================================================================
--- head/databases/xapian-bindings/Makefile Sun Aug 25 16:14:28 2013 (r325357)
+++ head/databases/xapian-bindings/Makefile Sun Aug 25 16:14:58 2013 (r325358)
@@ -77,7 +77,7 @@ PLIST_SUB+= RUBY="@comment "
post-patch:
# do not install rdoc
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' ${WRKSRC}/ruby/Makefile.in
-.if empty(PORT_OPTIONS:MDOCS)
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_docdataDATA install-dist_exampledataDATA ||' ${WRKSRC}/lua/Makefile.in ${WRKSRC}/php/Makefile.in ${WRKSRC}/python/Makefile.in
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_docdataDATA||; 799 s|install-dist_exampledataDATA ||' ${WRKSRC}/ruby/Makefile.in
.endif
Modified: head/databases/xapian-core/Makefile
==============================================================================
--- head/databases/xapian-core/Makefile Sun Aug 25 16:14:28 2013 (r325357)
+++ head/databases/xapian-core/Makefile Sun Aug 25 16:14:58 2013 (r325358)
@@ -33,12 +33,12 @@ MAN1= xapian-check.1 \
.include <bsd.port.options.mk>
-.if empty(PORT_OPTIONS:MSSE2)
+.if !${PORT_OPTIONS:MSSE2}
CONFIGURE_ARGS+=--disable-sse
.endif
post-patch:
-.if empty(PORT_OPTIONS:MDOCS)
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| docs||' ${WRKSRC}/Makefile.in
.endif
Modified: head/devel/libcheck/Makefile
==============================================================================
--- head/devel/libcheck/Makefile Sun Aug 25 16:14:28 2013 (r325357)
+++ head/devel/libcheck/Makefile Sun Aug 25 16:14:58 2013 (r325358)
@@ -33,10 +33,10 @@ post-patch:
-e '/^exampledir = / s|(docdir)/example|(datadir)/examples/${PORTNAME}|' \
-e '/^example[a-z]*dir = / s|(docdir)/example/|(exampledir)/|' \
${WRKSRC}/doc/Makefile.in
-.if empty(PORT_OPTIONS:MDOCS)
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^install-data-am:/ s| install-docDATA||' ${WRKSRC}/Makefile.in
.endif
-.if empty(PORT_OPTIONS:MEXAMPLES)
+.if !${PORT_OPTIONS:MEXAMPLES}
@${REINPLACE_CMD} \
-e '/^install-data-am:/ s| install-exampleDATA install-examplesrcDATA||' \
-e 's|install-exampletestsDATA ||' \
Modified: head/graphics/lcms/Makefile
==============================================================================
--- head/graphics/lcms/Makefile Sun Aug 25 16:14:28 2013 (r325357)
+++ head/graphics/lcms/Makefile Sun Aug 25 16:14:58 2013 (r325358)
@@ -47,10 +47,10 @@ PLIST_SUB+= TIFFICC="@comment "
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| python samples||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|^testcms_LDFLAGS = .*$$|& -static|' ${WRKSRC}/testbed/Makefile.in
-.if empty(PORT_OPTIONS:MJPEGICC)
+.if !${PORT_OPTIONS:MJPEGICC}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| jpegicc||' ${WRKSRC}/Makefile.in
.endif
-.if empty(PORT_OPTIONS:MTIFFICC)
+.if !${PORT_OPTIONS:MTIFFICC}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| tifficc||' ${WRKSRC}/Makefile.in
.endif
Modified: head/graphics/lcms2/Makefile
==============================================================================
--- head/graphics/lcms2/Makefile Sun Aug 25 16:14:28 2013 (r325357)
+++ head/graphics/lcms2/Makefile Sun Aug 25 16:14:58 2013 (r325358)
@@ -52,10 +52,10 @@ PLIST_SUB+= TIFFICC="@comment "
.endif
post-patch:
-.if empty(PORT_OPTIONS:MJPEGICC)
+.if !${PORT_OPTIONS:MJPEGICC}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| utils/jpgicc||' ${WRKSRC}/Makefile.in
.endif
-.if empty(PORT_OPTIONS:MTIFFICC)
+.if !${PORT_OPTIONS:MTIFFICC}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| utils/tificc||' ${WRKSRC}/Makefile.in
.endif
Modified: head/textproc/confget/Makefile
==============================================================================
--- head/textproc/confget/Makefile Sun Aug 25 16:14:28 2013 (r325357)
+++ head/textproc/confget/Makefile Sun Aug 25 16:14:58 2013 (r325358)
@@ -35,7 +35,7 @@ MAKE_ENV+= PCRE_CFLAGS="" PCRE_LIBS=""
.endif
post-patch:
-.if empty(PORT_OPTIONS:MEXAMPLES)
+.if !${PORT_OPTIONS:MEXAMPLES}
@${REINPLACE_CMD} -e '/^install:/ s| install-examples||' ${WRKSRC}/Makefile
.endif
Modified: head/textproc/p5-XML-XML2JSON/Makefile
==============================================================================
--- head/textproc/p5-XML-XML2JSON/Makefile Sun Aug 25 16:14:28 2013 (r325357)
+++ head/textproc/p5-XML-XML2JSON/Makefile Sun Aug 25 16:14:58 2013 (r325358)
@@ -31,7 +31,7 @@ MAN3= XML::XML2JSON.3
.include <bsd.port.options.mk>
-.if empty(PORT_OPTIONS:MJSON_SYCK) && empty(PORT_OPTIONS:MJSON_XS) && empty(PORT_OPTIONS:MJSON) && empty(PORT_OPTIONS:MJSON_DWIW)
+.if !${PORT_OPTIONS:MJSON_SYCK} && !${PORT_OPTIONS:MJSON_XS} && !${PORT_OPTIONS:MJSON} && !${PORT_OPTIONS:MJSON_DWIW}
IGNORE= you must choose at least one JSON module
.endif
Modified: head/www/xapian-omega/Makefile
==============================================================================
--- head/www/xapian-omega/Makefile Sun Aug 25 16:14:28 2013 (r325357)
+++ head/www/xapian-omega/Makefile Sun Aug 25 16:14:58 2013 (r325358)
@@ -50,7 +50,7 @@ post-patch:
-e '/^dist_sysconf_DATA = /d' \
-e '/^pkglibbindir = / s| = .*$$| = ${WWWDIR}/cgi-bin|' \
${WRKSRC}/Makefile.in
-.if empty(PORT_OPTIONS:MDOCS)
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| docs||' ${WRKSRC}/Makefile.in
.endif
More information about the svn-ports-head
mailing list