diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-30 13:23:34 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-30 13:23:34 +0000 |
commit | 3bf4d16461a8a6846998262e6886e1b9d1bdfa6f (patch) | |
tree | 8bcd482ce5416be8572be82b7f24b9690733067f /sysutils/usermatic | |
parent | f33eeb96d0dc5548eb0b793313c16beb0fae35ee (diff) | |
download | ports-3bf4d16461a8a6846998262e6886e1b9d1bdfa6f.tar.gz ports-3bf4d16461a8a6846998262e6886e1b9d1bdfa6f.zip |
Notes
Diffstat (limited to 'sysutils/usermatic')
-rw-r--r-- | sysutils/usermatic/Makefile | 36 | ||||
-rw-r--r-- | sysutils/usermatic/pkg-plist | 4 |
2 files changed, 22 insertions, 18 deletions
diff --git a/sysutils/usermatic/Makefile b/sysutils/usermatic/Makefile index a36194f2663b..659106eb610a 100644 --- a/sysutils/usermatic/Makefile +++ b/sysutils/usermatic/Makefile @@ -11,36 +11,36 @@ MASTER_SITES= http://btw23.de/johannes/usermatic/\ MAINTAINER= fehlner@gmx.de COMMENT= Scripts to automate the maintenance of accounts +RUN_DEPENDS= ${PREFIX}/sbin/userneu.pl:${PORTSDIR}/sysutils/userneu + NO_BUILD= yes -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= digestion/digestion.pl hunter-seeker/hunter-seeker.pl \ + newusers/newusers.pl reaper/reaper.pl USE_PERL5= run - -MAN1= digestion.pl.1 -MAN8= hunter-seeker.pl.8 newusers.pl.8 reaper.pl.8 - DOCS= Artistic COPYING README CHANGES \ doc/digestion.pl.pod doc/hunter-seeker.pl.pod \ doc/reaper.pl.pod EXAMPLES= digestion/list_digested digestion/list_raw \ newusers/sums_to_ignore +OPTIONS_DEFINE= DOCS -RUN_DEPENDS+= ${PREFIX}/sbin/userneu.pl:${PORTSDIR}/sysutils/userneu +.include <bsd.port.options.mk> -NO_STAGE= yes do-install: - cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 - cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN8} ${MANPREFIX}/man/man8 + cd ${WRKSRC}/doc && ${INSTALL_MAN} digestion.pl.1 ${STAGEDIR}${MANPREFIX}/man/man1 + cd ${WRKSRC}/doc && ${INSTALL_MAN} hunter-seeker.pl.8 newusers.pl.8 reaper.pl.8 ${STAGEDIR}${MANPREFIX}/man/man8 - cd ${WRKSRC}/digestion && ${INSTALL_SCRIPT} digestion.pl ${PREFIX}/sbin + cd ${WRKSRC}/digestion && ${INSTALL_SCRIPT} digestion.pl ${STAGEDIR}${PREFIX}/sbin cd ${WRKSRC}/hunter-seeker && ${INSTALL_SCRIPT} hunter-seeker.pl \ - ${PREFIX}/sbin - cd ${WRKSRC}/reaper && ${INSTALL_SCRIPT} reaper.pl ${PREFIX}/sbin - cd ${WRKSRC}/newusers && ${INSTALL_SCRIPT} newusers.pl ${PREFIX}/sbin - @${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + ${STAGEDIR}${PREFIX}/sbin + cd ${WRKSRC}/reaper && ${INSTALL_SCRIPT} reaper.pl ${STAGEDIR}${PREFIX}/sbin + cd ${WRKSRC}/newusers && ${INSTALL_SCRIPT} newusers.pl ${STAGEDIR}${PREFIX}/sbin + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/sysutils/usermatic/pkg-plist b/sysutils/usermatic/pkg-plist index d5cee053a407..772a82bbdefc 100644 --- a/sysutils/usermatic/pkg-plist +++ b/sysutils/usermatic/pkg-plist @@ -1,3 +1,7 @@ +man/man1/digestion.pl.1.gz +man/man8/hunter-seeker.pl.8.gz +man/man8/newusers.pl.8.gz +man/man8/reaper.pl.8.gz sbin/digestion.pl sbin/hunter-seeker.pl sbin/reaper.pl |