Substitute %%PREFIX%% in PATH variable in file periodic-snapshot

Bump PORTREVISION
This commit is contained in:
Michael Haro 2005-09-24 23:15:29 +00:00
parent 709147b535
commit 463b457260
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143501

View file

@ -7,6 +7,7 @@
PORTNAME= freebsd-snapshot
DISTVERSION= 20050402.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://people.freebsd.org/~rse/dist/
@ -34,7 +35,8 @@ IGNORE= FreeBSD lower then 5.x doesn't support snapshot
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/amd.map.snap ${WRKSRC}/snapshot ${WRKSRC}/snapshot.8
${WRKSRC}/amd.map.snap ${WRKSRC}/snapshot \
${WRKSRC}/periodic-snapshot ${WRKSRC}/snapshot.8
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/snapshot ${PREFIX}/sbin/