diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-25 13:33:55 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-25 13:33:55 +0000 |
commit | e0e54afe5dd58b4e80dcb5009a3723c1ad3c71db (patch) | |
tree | 23d6c58887d278453901d0c842dd1c2fa869b11a /sysutils/freebsd-snapshot | |
parent | 1ffaa567ff587627fb823bda52550f4dc6519e26 (diff) | |
download | ports-e0e54afe5dd58b4e80dcb5009a3723c1ad3c71db.tar.gz ports-e0e54afe5dd58b4e80dcb5009a3723c1ad3c71db.zip |
Notes
Diffstat (limited to 'sysutils/freebsd-snapshot')
-rw-r--r-- | sysutils/freebsd-snapshot/Makefile | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/sysutils/freebsd-snapshot/Makefile b/sysutils/freebsd-snapshot/Makefile index 6ebc1c614910..38d9479a68a9 100644 --- a/sysutils/freebsd-snapshot/Makefile +++ b/sysutils/freebsd-snapshot/Makefile @@ -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> |