mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Support staging
This commit is contained in:
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
|
@ -25,7 +25,6 @@ AUTOTOOLSFILES= aclocal.m4
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
|
|
@ -19,15 +19,13 @@ INSTALL_TARGET= install
|
||||||
BOOTFILE?= /etc/namedb/named.boot
|
BOOTFILE?= /etc/namedb/named.boot
|
||||||
CONFFILE?= /etc/namedb/named.conf
|
CONFFILE?= /etc/namedb/named.conf
|
||||||
|
|
||||||
MAN8= nslint.8
|
PLIST_FILES= bin/nslint man/man8/nslint.8.gz
|
||||||
PLIST_FILES= bin/nslint
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/^\ \{4\}V_CCOPT/d' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e '/^\ \{4\}V_CCOPT/d' ${WRKSRC}/configure
|
||||||
@@${REINPLACE_CMD} -e 's|/etc/named.boot|${BOOTFILE}|; \
|
@@${REINPLACE_CMD} -e 's|/etc/named.boot|${BOOTFILE}|; \
|
||||||
s|/etc/named.conf|${CONFFILE}|' \
|
s|/etc/named.conf|${CONFFILE}|' \
|
||||||
${WRKSRC}/${PORTNAME}.c \
|
${WRKSRC}/${PORTNAME}.c \
|
||||||
${WRKSRC}/${MAN8}
|
${WRKSRC}/${PORTNAME}.8
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -18,14 +18,13 @@ SHEBANG_FILES= updserial
|
||||||
PORTEXAMPLES= example.tld
|
PORTEXAMPLES= example.tld
|
||||||
PLIST_FILES= bin/vizone bin/updserial
|
PLIST_FILES= bin/vizone bin/updserial
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/updserial ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/updserial ${STAGEDIR}${PREFIX}/bin
|
||||||
|
|
||||||
.if !defined(NOPORTEXAMPLES)
|
.if !defined(NOPORTEXAMPLES)
|
||||||
${MKDIR} ${EXAMPLESDIR}
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/example.tld ${EXAMPLESDIR}
|
${INSTALL_DATA} ${WRKSRC}/example.tld ${STAGEDIR}${EXAMPLESDIR}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -13,9 +13,8 @@ COMMENT= DNS notify sender written in C
|
||||||
PLIST_FILES= bin/zonenotify
|
PLIST_FILES= bin/zonenotify
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
|
@${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|' \
|
||||||
${WRKSRC}/Makefile
|
${WRKSRC}/Makefile
|
||||||
|
|
||||||
do-build:
|
do-build:
|
||||||
|
|
Loading…
Add table
Reference in a new issue