mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Add stage support
This commit is contained in:
parent
a73ff00e8a
commit
bc2c3c4520
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333690
@ -15,15 +15,9 @@ LICENSE_COMB= dual
|
||||
|
||||
USE_XORG= x11
|
||||
|
||||
MAN1= xfireworks.1
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xfireworks ${PREFIX}/bin/xfireworks
|
||||
${INSTALL_MAN} ${WRKSRC}/xfireworks.1 ${MANPREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/xfireworks.conf ${PREFIX}/etc/xfireworks.conf.sample
|
||||
.if !exists(${PREFIX}/etc/xfireworks.conf)
|
||||
${CP} ${PREFIX}/etc/xfireworks.conf.sample ${PREFIX}/etc/xfireworks.conf
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xfireworks ${STAGEDIR}${PREFIX}/bin/xfireworks
|
||||
${INSTALL_MAN} ${WRKSRC}/xfireworks.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/xfireworks.conf ${STAGEDIR}${PREFIX}/etc/xfireworks.conf.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/xfireworks
|
||||
man/man1/xfireworks.1.gz
|
||||
@unexec if cmp -s %D/etc/xfireworks.conf %D/etc/xfireworks.conf.sample; then rm -f %D/etc/xfireworks.conf; fi
|
||||
etc/xfireworks.conf.sample
|
||||
@exec test -f %B/xfireworks.conf || cp %B/%f %B/xfireworks.conf
|
||||
|
Loading…
Reference in New Issue
Block a user