aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/afio/Makefile
blob: 28631e673f9da199c6b6c584ea2229e77dec8cfb (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
# Created by: Juergen Lock <nox@jelal.hb.north.de>
# $FreeBSD$

PORTNAME=   afio
PORTVERSION=    2.5
CATEGORIES= sysutils
MASTER_SITES=   SUNSITE/system/backup

MAINTAINER= ports@FreeBSD.org
COMMENT=    Archiver and backup program with builtin compression

USES=       tar:tgz

ALL_TARGET= ${PORTNAME}

PLIST_FILES=    bin/afio man/man1/afio.1.gz
PORTDOCS=   HISTORY README SCRIPTS
PORTEXAMPLES=   *

OPTIONS_DEFINE= DOCS EXAMPLES

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/script1/DONTDUMP ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${FILESDIR}/afiodump.example \
        ${WRKSRC}/script2/* ${WRKSRC}/script3/* \
        ${WRKSRC}/script4/* ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>