svn commit: r301787 - in head: devel/qdevelop games/darkplaces irc/quassel print/hplip textproc/qstardict
Max Brazhnikov
makc at FreeBSD.org
Tue Jul 31 13:25:27 UTC 2012
Author: makc
Date: Tue Jul 31 13:25:26 2012
New Revision: 301787
URL: http://svn.freebsd.org/changeset/ports/301787
Log:
Fix typo/logic after conversion to new option framework
Reported by: erwin/pointyhat for textproc/qstardict
Modified:
head/devel/qdevelop/Makefile
head/games/darkplaces/Makefile
head/irc/quassel/Makefile
head/print/hplip/Makefile
head/textproc/qstardict/Makefile
Modified: head/devel/qdevelop/Makefile
==============================================================================
--- head/devel/qdevelop/Makefile Tue Jul 31 13:15:32 2012 (r301786)
+++ head/devel/qdevelop/Makefile Tue Jul 31 13:25:26 2012 (r301787)
@@ -70,7 +70,7 @@ post-patch:
${WRKSRC}/plugins/formatting-astyle/astyleplugin.cpp
do-configure:
-.if !${PORT_OPTIONS:MNLS}
+.if ${PORT_OPTIONS:MNLS}
cd ${WRKSRC} && ${QT_LRELEASE} ${QMAKE_PRO}
.endif
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
@@ -78,11 +78,11 @@ do-configure:
post-install:
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
${INSTALL_DATA} ${WRKSRC}/resources/images/logo.png ${PREFIX}/share/pixmaps/qdevelop.png
-.if !${PORT_OPTIONS:MNLS}
+.if ${PORT_OPTIONS:MNLS}
${MKDIR} ${DATADIR}
cd ${WRKSRC}/resources/translations/ && ${COPYTREE_SHARE} '*.qm' ${DATADIR}/translations
.endif
-.if !${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for doc in ChangeLog.txt README.txt
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
Modified: head/games/darkplaces/Makefile
==============================================================================
--- head/games/darkplaces/Makefile Tue Jul 31 13:15:32 2012 (r301786)
+++ head/games/darkplaces/Makefile Tue Jul 31 13:25:26 2012 (r301787)
@@ -83,7 +83,7 @@ do-install:
.endfor
@${MKDIR} ${DATADIR}
@${TOUCH} ${DATADIR}/dummy
-.if !{PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/darkplaces.txt ${DOCSDIR}
.endif
Modified: head/irc/quassel/Makefile
==============================================================================
--- head/irc/quassel/Makefile Tue Jul 31 13:15:32 2012 (r301786)
+++ head/irc/quassel/Makefile Tue Jul 31 13:25:26 2012 (r301787)
@@ -79,7 +79,7 @@ PLIST_SUB+= CLIENT="@comment "
.endif
pre-configure:
-.if ${PORT_OPTIONS:MNLS}
+.if !${PORT_OPTIONS:MNLS}
${REINPLACE_CMD} -e '/add_subdirectory(i18n)/d' \
${WRKSRC}/CMakeLists.txt
.endif
Modified: head/print/hplip/Makefile
==============================================================================
--- head/print/hplip/Makefile Tue Jul 31 13:15:32 2012 (r301786)
+++ head/print/hplip/Makefile Tue Jul 31 13:25:26 2012 (r301787)
@@ -144,7 +144,7 @@ CONFIGURE_ARGS+= --disable-scan-build
PLIST_SUB+= SCAN="@comment "
.endif
-.if ${PORT_OPTIONS:MDOCS}
+.if !${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+= --enable-doc-build=no
.endif
Modified: head/textproc/qstardict/Makefile
==============================================================================
--- head/textproc/qstardict/Makefile Tue Jul 31 13:15:32 2012 (r301786)
+++ head/textproc/qstardict/Makefile Tue Jul 31 13:25:26 2012 (r301787)
@@ -42,7 +42,7 @@ QMAKE_ARGS+= NO_DBUS=1
post-patch:
@${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \
${WRKSRC}/qstardict.pri
-.if ${PORT_OPTIONS:MDOCS}
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e "/^INSTALLS/s|docs||g" \
${WRKSRC}/qstardict.pro
.endif
More information about the svn-ports-all
mailing list