diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-05 08:20:38 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-05 08:20:38 +0800 |
commit | 4d17211d82d5aa916987ac06a739f1258c3a69a4 (patch) | |
tree | c137bb420b2f1c45c3220ef56abf9c57bee01942 /french | |
parent | 4764810924e420f473ad5f5c8295a4d9a59b7529 (diff) | |
download | freebsd-ports-gnome-4d17211d82d5aa916987ac06a739f1258c3a69a4.tar.gz freebsd-ports-gnome-4d17211d82d5aa916987ac06a739f1258c3a69a4.tar.zst freebsd-ports-gnome-4d17211d82d5aa916987ac06a739f1258c3a69a4.zip |
Remove NOPORTDOCS and NOPORTEXAMPLES from unstaged ports. Stage a couple while
we're here. Remove any other references to NOPORT*.
Approved by: portmgr (blanket for modernization)
Diffstat (limited to 'french')
-rw-r--r-- | french/dico/Makefile | 6 | ||||
-rw-r--r-- | french/facturier/Makefile | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/french/dico/Makefile b/french/dico/Makefile index 115d99fb4fe8..4db1596c19a8 100644 --- a/french/dico/Makefile +++ b/french/dico/Makefile @@ -28,6 +28,8 @@ REINPLACE_SUB= PREFIX=${PREFIX} # Post-patch # +OPTIONS_DEFINE= DOCS + NO_STAGE= yes post-patch: @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ @@ -42,8 +44,10 @@ pre-configure: # Post-install # +.include <bsd.port.options.mk> + post-install: -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) @${RM} -rf ${DOCSDIR} .endif diff --git a/french/facturier/Makefile b/french/facturier/Makefile index 9fc2345e12cd..71a0913d6645 100644 --- a/french/facturier/Makefile +++ b/french/facturier/Makefile @@ -46,7 +46,12 @@ PKGMESSAGE= ${WRKDIR}/pkg-message TRASHFILES= lib/Conf.pm~ cgi-bin/.articlemodif.cgi.swp lib/.Conf.pm.swp \ html/UNGI/Editfacturemaj.pm.back html/temp/log_facture.gif.back +OPTIONS_DEFINE= DOCS + NO_STAGE= yes + +.include <bsd.port.options.mk> + pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "Vous pouvez définir trois variables :" @@ -102,7 +107,7 @@ do-install: ${ECHO_CMD} "Include ${ETCDIR}" >> ${APACHE_CONF} ; \ fi) -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR}/ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." |