summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 14:49:54 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 14:49:54 +0000
commit546224202e95822af774c089e0717cc1f26b023c (patch)
treed8c3204b1c3167a98f356e44ef7af039cadc1cbe /astro
parentRemove NOPORT* from archivers. The only holdouts here are ruby@ now. (diff)
Remove NOPORT* from astro.
Notes
Notes: svn path=/head/; revision=338543
Diffstat (limited to 'astro')
-rw-r--r--astro/gkrellmoon2/Makefile4
-rw-r--r--astro/gmapcatcher/Makefile4
-rw-r--r--astro/openmap/Makefile4
-rw-r--r--astro/xmoontool/Makefile4
4 files changed, 12 insertions, 4 deletions
diff --git a/astro/gkrellmoon2/Makefile b/astro/gkrellmoon2/Makefile
index 18d6b370a17f..4bd88034d2ce 100644
--- a/astro/gkrellmoon2/Makefile
+++ b/astro/gkrellmoon2/Makefile
@@ -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}
diff --git a/astro/gmapcatcher/Makefile b/astro/gmapcatcher/Makefile
index 9536b6a4bcbf..f5573baa368a 100644
--- a/astro/gmapcatcher/Makefile
+++ b/astro/gmapcatcher/Makefile
@@ -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}
diff --git a/astro/openmap/Makefile b/astro/openmap/Makefile
index 32ceee0d84da..bd67ecdf6ea1 100644
--- a/astro/openmap/Makefile
+++ b/astro/openmap/Makefile
@@ -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
diff --git a/astro/xmoontool/Makefile b/astro/xmoontool/Makefile
index c4346af36f60..9e0212ac0f8c 100644
--- a/astro/xmoontool/Makefile
+++ b/astro/xmoontool/Makefile
@@ -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}