mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stage.
This commit is contained in:
parent
f6ac94a3ff
commit
868752b2d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362283
@ -16,26 +16,23 @@ MAILLOG?= /var/log/maillog
|
||||
EXACTDIR?= /var/exact
|
||||
PLIST_SUB+= MAILUSER=${MAILUSER} MAILGROUP=${MAILGROUP} EXACTDIR=${EXACTDIR}
|
||||
|
||||
FETCH_CMD= /usr/bin/fetch -Rr
|
||||
USES= gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-user=${MAILUSER} \
|
||||
--with-group=${MAILGROUP} \
|
||||
--with-watch=${MAILLOG}
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-install:
|
||||
@${SED} -e "s,/usr/local/var,/var,g; s,/state,,g" ${WRKSRC}/exact.conf > ${WRKSRC}/exact.conf.sample
|
||||
@${SED} -e "s,%%PREFIX%%,${PREFIX},g; s,%%EXACTDIR%%,${EXACTDIR},g" ${FILESDIR}/exact.sh > ${WRKSRC}/exact.sh
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${EXACTDIR}
|
||||
${CHOWN} ${MAILUSER}:${MAILGROUP} ${EXACTDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/exact ${PREFIX}/sbin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/exact.sh ${PREFIX}/etc/rc.d
|
||||
${INSTALL_DATA} ${WRKSRC}/exact.conf.sample ${PREFIX}/etc
|
||||
${INSTALL_MAN} ${WRKSRC}/exact.conf.5 ${MAN5PREFIX}/man/man5
|
||||
${INSTALL_MAN} ${WRKSRC}/exact.8 ${MAN8PREFIX}/man/man8
|
||||
@${MKDIR} ${STAGEDIR}${EXACTDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/exact ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/exact.sh ${STAGEDIR}${PREFIX}/etc/rc.d
|
||||
${INSTALL_DATA} ${WRKSRC}/exact.conf.sample ${STAGEDIR}${PREFIX}/etc
|
||||
${INSTALL_MAN} ${WRKSRC}/exact.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
|
||||
${INSTALL_MAN} ${WRKSRC}/exact.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
|
||||
|
||||
MAN5= exact.conf.5
|
||||
MAN8= exact.8
|
||||
|
@ -1,6 +1,8 @@
|
||||
sbin/exact
|
||||
etc/exact.conf.sample
|
||||
@sample etc/exact.conf.sample
|
||||
etc/rc.d/exact.sh
|
||||
@exec mkdir -p %%EXACTDIR%%
|
||||
@exec chown %%MAILUSER%%:%%MAILGROUP%% %%EXACTDIR%%
|
||||
@unexec rmdir %%EXACTDIR%% 2>/dev/null || true
|
||||
man/man5/exact.conf.5.gz
|
||||
man/man8/exact.8.gz
|
||||
sbin/exact
|
||||
@owner %%MAILUSER%%
|
||||
@group %%MAILGROUP%%
|
||||
@dirrmtry %%EXACTDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user