1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-19 11:51:45 +00:00
parent d1c3309ffd
commit b0cef1c121
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345075
2 changed files with 16 additions and 6 deletions

View File

@ -19,23 +19,23 @@ CONFLICTS= djbdns-[0-9]*
PROGRAMS= dnsip dnsipq dnsname dnstxt dnsmx dnsfilter \
random-ip dnsqr dnsq dnstrace
SCRIPTS= dnstracesort
MAN1= dnsfilter.1 dnsip.1 dnsipq.1 dnsmx.1 dnsname.1 \
MANPAGES= dnsfilter.1 dnsip.1 dnsipq.1 dnsmx.1 dnsname.1 \
dnsq.1 dnsqr.1 dnstrace.1 dnstracesort.1 dnstxt.1
ALL_TARGET= it
NO_STAGE= yes
do-patch:
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
do-install:
@${MKDIR} ${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/bin
@cd ${WRKSRC} && \
${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \
${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin
${INSTALL_PROGRAM} ${PROGRAMS} ${STAGEDIR}${PREFIX}/bin && \
${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${PREFIX}/bin
@cd ${WRKDIR}/djbdns-man && \
${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${MANPAGES} ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -9,3 +9,13 @@ bin/dnstrace
bin/dnstracesort
bin/dnstxt
bin/random-ip
man/man1/dnsfilter.1.gz
man/man1/dnsip.1.gz
man/man1/dnsipq.1.gz
man/man1/dnsmx.1.gz
man/man1/dnsname.1.gz
man/man1/dnsq.1.gz
man/man1/dnsqr.1.gz
man/man1/dnstrace.1.gz
man/man1/dnstracesort.1.gz
man/man1/dnstxt.1.gz