mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
6d13f1540c
- Bump portrevision PR: ports/150150 Submitted by: Janne Snabb <snabb _at_ epipe.com> Approved by: Graham Todd <gtodd _at_ bellanet.org> (maintainer)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: freebsd-snapshot
|
|
# Date created: 2005-09-07
|
|
# Whom: gtodd@bellanet.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= freebsd-snapshot
|
|
DISTVERSION= 20091208.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://people.freebsd.org/~rse/dist/
|
|
|
|
MAINTAINER= gtodd@bellanet.org
|
|
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
|
|
|
|
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}
|
|
|
|
.include <bsd.port.mk>
|