mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging
This commit is contained in:
parent
70af09ded0
commit
f75a65cdd0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345847
@ -17,20 +17,20 @@ PLIST_FILES= sbin/pathneck \
|
||||
PORTDOCS= COPYING ChangeLog README
|
||||
MAKEFILE= Makefile.bsd
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,^CC .=,CC ?=,' \
|
||||
-e 's,^CFLAGS .=,CFLAGS +=,' \
|
||||
${WRKSRC}/Makefile.bsd
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pathneck ${PREFIX}/sbin/pathneck
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/get-choke ${PREFIX}/sbin/get-choke
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pathneck ${STAGEDIR}${PREFIX}/sbin/pathneck
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/get-choke \
|
||||
${STAGEDIR}${PREFIX}/sbin/get-choke
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user