svn commit: r338543 - in head/astro: gkrellmoon2 gmapcatcher openmap xmoontool
Adam Weinberger
adamw at FreeBSD.org
Fri Jan 3 14:49:55 UTC 2014
Author: adamw
Date: Fri Jan 3 14:49:54 2014
New Revision: 338543
URL: http://svnweb.freebsd.org/changeset/ports/338543
Log:
Remove NOPORT* from astro.
Modified:
head/astro/gkrellmoon2/Makefile
head/astro/gmapcatcher/Makefile
head/astro/openmap/Makefile
head/astro/xmoontool/Makefile
Modified: head/astro/gkrellmoon2/Makefile
==============================================================================
--- head/astro/gkrellmoon2/Makefile Fri Jan 3 14:42:07 2014 (r338542)
+++ head/astro/gkrellmoon2/Makefile Fri Jan 3 14:49:54 2014 (r338543)
@@ -20,10 +20,12 @@ USE_GNOME= gtk20
ALL_TARGET= gkrellmoon.so
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_DATA} ${WRKSRC}/gkrellmoon.so \
${PREFIX}/libexec/gkrellm2/plugins
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
${PREFIX}/share/doc/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
Modified: head/astro/gmapcatcher/Makefile
==============================================================================
--- head/astro/gmapcatcher/Makefile Fri Jan 3 14:42:07 2014 (r338542)
+++ head/astro/gmapcatcher/Makefile Fri Jan 3 14:49:54 2014 (r338543)
@@ -20,6 +20,8 @@ USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
PLIST_SUB= PORTVERSION="${PORTVERSION}"
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's,/usr/share/pixmaps,${PREFIX}/share/pixmaps,g' \
${WRKSRC}/gmapcatcher/widgets/mapPixbuf.py
@@ -27,7 +29,7 @@ post-patch:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/mapcatcher ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/mapdownloader ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/changelog ${DOCSDIR}
Modified: head/astro/openmap/Makefile
==============================================================================
--- head/astro/openmap/Makefile Fri Jan 3 14:42:07 2014 (r338542)
+++ head/astro/openmap/Makefile Fri Jan 3 14:49:54 2014 (r338543)
@@ -22,6 +22,8 @@ MAKE_ARGS+= -Dopenmap.home=${WRKSRC} \
SUB_FILES= openmap.sh
+.include <bsd.port.options.mk>
+
do-configure:
(cd ${WRKSRC} && ${FIND} . -type f -print0 | ${XARGS} -0 \
${REINPLACE_CMD} -e 's,/usr/local/openmap,${DATADIR},g')
@@ -40,7 +42,7 @@ do-install:
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} -o ${SHAREOWN} -g ${SHAREGRP} \
AUTHORS LICENSE README ${DOCSDIR})
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
(cd ${WRKSRC}/doc && ${FIND} . -type f -print | \
${CPIO} -pdmu -R${SHAREOWN}:${SHAREGRP} ${DOCSDIR})
${FIND} ${DOCSDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 0555
Modified: head/astro/xmoontool/Makefile
==============================================================================
--- head/astro/xmoontool/Makefile Fri Jan 3 14:42:07 2014 (r338542)
+++ head/astro/xmoontool/Makefile Fri Jan 3 14:49:54 2014 (r338543)
@@ -23,6 +23,8 @@ MAKE_ENV+= WITHOUT_LIBNOVA=yes
LIB_DEPENDS+= libnova.so:${PORTSDIR}/astro/libnova
.endif
+.include <bsd.port.options.mk>
+
pre-everything::
.if !defined(WITHOUT_LIBNOVA)
@${ECHO_MSG} "You can disable libnova support by defining WITHOUT_LIBNOVA"
@@ -43,7 +45,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/xmoontool.1 ${PREFIX}/man/man1
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
More information about the svn-ports-all
mailing list