blob: ab9bb00fd5139b5cc358274b89a6fcdfd3f459ee (
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
42
|
# Created by: Juergen Lock <nox@jelal.hb.north.de>
# $FreeBSD$
PORTNAME= afio
PORTVERSION= 2.5
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/backup
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Archiver & backup program w/ builtin compression
ALL_TARGET= ${PORTNAME}
MAN1= afio.1
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= README SCRIPTS
post-patch:
@${REINPLACE_CMD} -e 's|^CC=.*$$|CC=${CC}|' \
${WRKSRC}/Makefile
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${WRKSRC}/SCRIPTS ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${FILESDIR}/afiodump.example ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/script1/DONTDUMP ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/script2/* ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/script3/* ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/script4/* ${EXAMPLESDIR}
PLIST_SUB+= PORTEXAMPLES=""
.else
PLIST_SUB+= PORTEXAMPLES="@comment "
.endif
.include <bsd.port.mk>
|