blob: 6ebc1c6149103b345dcdfc67b2c27d2eb9098fdb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: 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
NO_STAGE= yes
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>
|