aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/afio/Makefile
blob: d958d2e7fd49b841be6f18917fea80f5ad41b7a1 (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
# New ports collection makefile for:    afio
# Date created:         4 October 1995
# Whom:                 Juergen Lock <nox@jelal.hb.north.de>
#
# $FreeBSD$
#

PORTNAME=   afio
PORTVERSION=    2.4.6
CATEGORIES=     sysutils
MASTER_SITES=   ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/backup
EXTRACT_SUFX=   .tgz

MAINTAINER= nox@jelal.hb.north.de

WRKSRC=     ${WRKDIR}/afio.2.4.6
ALL_TARGET= afio
MAN1=       afio.1

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/afio
    @(cd ${WRKSRC} ; \
        ${INSTALL_MAN} README SCRIPTS ${PREFIX}/share/doc/afio)
    @${MKDIR} ${PREFIX}/share/examples/afio
    @${INSTALL_SCRIPT} ${FILESDIR}/afiodump.example ${PREFIX}/share/examples/afio
    @${INSTALL_DATA} ${WRKSRC}/script1/DONTDUMP ${PREFIX}/share/examples/afio
    @${INSTALL_SCRIPT} ${WRKSRC}/script2/* ${PREFIX}/share/examples/afio
    @${INSTALL_SCRIPT} ${WRKSRC}/script3/* ${PREFIX}/share/examples/afio
    @${INSTALL_SCRIPT} ${WRKSRC}/script4/* ${PREFIX}/share/examples/afio
.endif

.include <bsd.port.mk>