mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Support staging
This commit is contained in:
parent
1ffaa567ff
commit
e0e54afe5d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345995
@ -12,30 +12,24 @@ COMMENT= Convenience frontend tools for the management of UFS2 snapshots
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
MAN8= snapshot.8 periodic-snapshot.8
|
||||
|
||||
PLIST_FILES= sbin/snapshot \
|
||||
sbin/periodic-snapshot \
|
||||
etc/amd.map.snap
|
||||
|
||||
SUB_FILES= pkg-message pkg-deinstall
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
PKGDEINSTALLL= ${WRKDIR}/pkg-deinstall
|
||||
|
||||
NO_STAGE= yes
|
||||
PLIST_FILES= etc/amd.map.snap man/man8/periodic-snapshot.8.gz \
|
||||
man/man8/snapshot.8.gz sbin/periodic-snapshot sbin/snapshot
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
|
||||
${WRKSRC}/amd.map.snap ${WRKSRC}/snapshot \
|
||||
${WRKSRC}/periodic-snapshot ${WRKSRC}/snapshot.8
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/snapshot ${PREFIX}/sbin/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/periodic-snapshot ${PREFIX}/sbin/
|
||||
${INSTALL_MAN} ${WRKSRC}/snapshot.8 ${PREFIX}/man/man8/
|
||||
${INSTALL_MAN} ${WRKSRC}/periodic-snapshot.8 ${PREFIX}/man/man8/
|
||||
${INSTALL_DATA} ${WRKSRC}/amd.map.snap ${PREFIX}/etc/
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/snapshot ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/periodic-snapshot ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/snapshot.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/periodic-snapshot.8 \
|
||||
${STAGEDIR}${MANPREFIX}/man/man8
|
||||
${INSTALL_DATA} ${WRKSRC}/amd.map.snap ${STAGEDIR}${PREFIX}/etc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user