1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
Reviewed by:	flo (mentor)
Approved by:	flo (mentor)
This commit is contained in:
Michael Gmelin 2014-06-01 16:33:21 +00:00
parent 84b84ec195
commit 6f734db5a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356152
2 changed files with 11 additions and 10 deletions

View File

@ -22,25 +22,18 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= default
INSTALL_TARGET= setup
PLIST_FILES= bin/qmail-rblchk bin/getsenderip \
%%EXAMPLESDIR%%/spam-report.sh %%EXAMPLESDIR%%/rbllist.sh \
%%EXAMPLESDIR%%/dot-qmail-storeip
PLIST_DIRS= %%EXAMPLESDIR%%
MAN1= qmail-rblchk.1 getsenderip.1
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/"cat/d; s|,02755|,0755|' ${WRKSRC}/hier.c
do-configure:
${PRINTF} "${PREFIX}\n\n.../bin.\n" > ${WRKSRC}/conf-home
${PRINTF} "${STAGEDIR}${PREFIX}\n\n.../bin.\n" > ${WRKSRC}/conf-home
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
post-install:
${MKDIR} ${EXAMPLESDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in rbllist.sh spam-report.sh dot-qmail-storeip
${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,8 @@
bin/getsenderip
bin/qmail-rblchk
man/man1/getsenderip.1.gz
man/man1/qmail-rblchk.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-qmail-storeip
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rbllist.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spam-report.sh
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%