blob: 659106eb610a1023968b4ecb9f086deabdc02e9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Andreas Fehlner (fehlner@gmx.de)
# $FreeBSD$
PORTNAME= usermatic
PORTVERSION= 0.6.1
CATEGORIES= sysutils
MASTER_SITES= http://btw23.de/johannes/usermatic/\
http://home.arcor.de/fehlner/fbsd_ports/\
http://home.arcor.de/teambushido/fbsd_ports/
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 shebangfix
SHEBANG_FILES= digestion/digestion.pl hunter-seeker/hunter-seeker.pl \
newusers/newusers.pl reaper/reaper.pl
USE_PERL5= run
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
.include <bsd.port.options.mk>
do-install:
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 ${STAGEDIR}${PREFIX}/sbin
cd ${WRKSRC}/hunter-seeker && ${INSTALL_SCRIPT} hunter-seeker.pl \
${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>
|