mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
Support staging
This commit is contained in:
parent
9de12c455d
commit
197ec1353c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345056
2 changed files with 13 additions and 8 deletions
|
@ -16,21 +16,18 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
|||
|
||||
BINARIES= decomment pmccabe
|
||||
SCRIPTS= codechanges vifn
|
||||
MAN1= codechanges.1 decomment.1 pmccabe.1 vifn.1
|
||||
PLIST_FILES= ${BINARIES:S,^,bin/,} \
|
||||
${SCRIPTS:S,^,bin/,}
|
||||
MANPAGE= codechanges.1 decomment.1 pmccabe.1 vifn.1
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
.for f in ${BINARIES}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
|
||||
.endfor
|
||||
.for f in ${SCRIPTS}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
|
||||
.endfor
|
||||
.if !defined(NO_INSTALL_MANPAGES)
|
||||
. for f in ${MAN1}
|
||||
${INSTALL_MAN} ${WRKSRC}/${f} ${MANPREFIX}/man/man1
|
||||
. for f in ${MANPAGE}
|
||||
${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
. endfor
|
||||
.endif
|
||||
|
||||
|
|
8
devel/pmccabe/pkg-plist
Normal file
8
devel/pmccabe/pkg-plist
Normal file
|
@ -0,0 +1,8 @@
|
|||
bin/codechanges
|
||||
bin/decomment
|
||||
bin/pmccabe
|
||||
bin/vifn
|
||||
man/man1/codechanges.1.gz
|
||||
man/man1/decomment.1.gz
|
||||
man/man1/pmccabe.1.gz
|
||||
man/man1/vifn.1.gz
|
Loading…
Add table
Reference in a new issue