diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-30 22:18:17 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-30 22:18:17 +0800 |
commit | 3f401e38808ed9c5d841603e6f8d82962cc967ec (patch) | |
tree | f22ce4a0b8cf7a30e32509121fea63b71c07b249 | |
parent | de913acd21b12b13ac22709aef4839493e681320 (diff) | |
download | freebsd-ports-gnome-3f401e38808ed9c5d841603e6f8d82962cc967ec.tar.gz freebsd-ports-gnome-3f401e38808ed9c5d841603e6f8d82962cc967ec.tar.zst freebsd-ports-gnome-3f401e38808ed9c5d841603e6f8d82962cc967ec.zip |
1: Stagify.
2: use @sample, bump version.
Approved by: portmgr@ (blanket approval)
-rw-r--r-- | sysutils/watchmen/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/sysutils/watchmen/Makefile b/sysutils/watchmen/Makefile index b8e827e8cdfb..64a5729138d2 100644 --- a/sysutils/watchmen/Makefile +++ b/sysutils/watchmen/Makefile @@ -3,6 +3,7 @@ PORTNAME= watchmen PORTVERSION= 0.08 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= GOOGLE_CODE @@ -25,16 +26,14 @@ EMAIL_DESC= report problems by email POD2MAN?= pod2man -MAN1= ${PORTNAME}.1 -PLIST_FILES= \ - bin/${PORTNAME} \ - etc/${PORTNAME}.conf.dist \ - %%SITE_PERL%%/%%PERL_ARCH%%/auto/App/watchmen/.packlist +PLIST_FILES= bin/${PORTNAME} \ + "@sample etc/${PORTNAME}.conf.sample" \ + %%SITE_PERL%%/%%PERL_ARCH%%/auto/App/watchmen/.packlist \ + man/man1/${PORTNAME}.1.gz PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/App/watchmen \ %%SITE_PERL%%/%%PERL_ARCH%%/auto/App -NO_STAGE= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes @@ -51,6 +50,6 @@ RUN_DEPENDS+= p5-MIME-Lite>=0:${PORTSDIR}/mail/p5-MIME-Lite .endif post-install: - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.dist ${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.dist ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample -.include <bsd.port.post.mk> +.include <bsd.port.mk> |