Date: Mon, 30 Jun 2014 13:23:35 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359836 - head/sysutils/usermatic Message-ID: <201406301323.s5UDNZ0t095390@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Mon Jun 30 13:23:34 2014 New Revision: 359836 URL: http://svnweb.freebsd.org/changeset/ports/359836 QAT: https://qat.redports.org/buildarchive/r359836/ Log: 1: Stagify. 2: use options helper. Approved by: portmgr@ (blanket approval) Modified: head/sysutils/usermatic/Makefile head/sysutils/usermatic/pkg-plist Modified: head/sysutils/usermatic/Makefile ============================================================================== --- head/sysutils/usermatic/Makefile Mon Jun 30 13:21:53 2014 (r359835) +++ head/sysutils/usermatic/Makefile Mon Jun 30 13:23:34 2014 (r359836) @@ -11,36 +11,36 @@ MASTER_SITES= http://btw23.de/johannes/u 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> Modified: head/sysutils/usermatic/pkg-plist ============================================================================== --- head/sysutils/usermatic/pkg-plist Mon Jun 30 13:21:53 2014 (r359835) +++ head/sysutils/usermatic/pkg-plist Mon Jun 30 13:23:34 2014 (r359836) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406301323.s5UDNZ0t095390>