From 546224202e95822af774c089e0717cc1f26b023c Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 3 Jan 2014 14:49:54 +0000 Subject: [PATCH] Remove NOPORT* from astro. --- astro/gkrellmoon2/Makefile | 4 +++- astro/gmapcatcher/Makefile | 4 +++- astro/openmap/Makefile | 4 +++- astro/xmoontool/Makefile | 4 +++- 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 + 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 + 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 + 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 + 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}