aboutsummaryrefslogtreecommitdiff
path: root/astro/gmapcatcher/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/gmapcatcher/Makefile')
-rw-r--r--astro/gmapcatcher/Makefile4
1 files changed, 3 insertions, 1 deletions
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}