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
e00ef0bb6b
commit
57a9dd563f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328593
@ -12,15 +12,7 @@ GNU_CONFIGURE= yes
|
||||
|
||||
MAKE_ARGS= etc_DATA=wy60.rc.sample
|
||||
|
||||
MAN1= wy60.1
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-build:
|
||||
@${CP} ${WRKSRC}/wy60.rc ${WRKSRC}/wy60.rc.sample
|
||||
|
||||
post-install:
|
||||
if test ! -f ${PREFIX}/etc/wy60.rc; then \
|
||||
${CP} -p ${PREFIX}/etc/wy60.rc.sample ${PREFIX}/etc/wy60.rc; \
|
||||
fi
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -3,3 +3,4 @@ bin/wy60
|
||||
@unexec if cmp %D/etc/wy60.rc.sample %D/etc/wy60.rc 2>/dev/null; then rm -f %D/etc/wy60.rc; fi
|
||||
etc/wy60.rc.sample
|
||||
@exec if test ! -f %D/etc/wy60.rc; then cp -p %D/etc/wy60.rc.sample %D/etc/wy60.rc; fi
|
||||
man/man1/wy60.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user