Support staging

This commit is contained in:
Emanuel Haupt 2013-10-22 21:30:14 +00:00
parent 08ed78a7b4
commit cb045c9ca4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331326
4 changed files with 7 additions and 12 deletions

View File

@ -25,7 +25,6 @@ AUTOTOOLSFILES= aclocal.m4
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:

View File

@ -19,15 +19,13 @@ INSTALL_TARGET= install
BOOTFILE?= /etc/namedb/named.boot
CONFFILE?= /etc/namedb/named.conf
MAN8= nslint.8
PLIST_FILES= bin/nslint
PLIST_FILES= bin/nslint man/man8/nslint.8.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/^\ \{4\}V_CCOPT/d' ${WRKSRC}/configure
@@${REINPLACE_CMD} -e 's|/etc/named.boot|${BOOTFILE}|; \
s|/etc/named.conf|${CONFFILE}|' \
${WRKSRC}/${PORTNAME}.c \
${WRKSRC}/${MAN8}
${WRKSRC}/${PORTNAME}.8
.include <bsd.port.mk>

View File

@ -18,14 +18,13 @@ SHEBANG_FILES= updserial
PORTEXAMPLES= example.tld
PLIST_FILES= bin/vizone bin/updserial
NO_STAGE= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/updserial ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/updserial ${STAGEDIR}${PREFIX}/bin
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.tld ${EXAMPLESDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.tld ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View File

@ -13,9 +13,8 @@ COMMENT= DNS notify sender written in C
PLIST_FILES= bin/zonenotify
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
@${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|' \
${WRKSRC}/Makefile
do-build: