aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/copytape/Makefile
blob: a5c70789e1d4da39b1c0978ea5c08d1d88992625 (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
# New ports collection makefile for: copytape
# Date created:     23 October 1998
# Whom:         Stephen J. Roznowski <sjr@home.net>
#
# $FreeBSD$
#

PORTNAME=       copytape
PORTVERSION=        1.0
CATEGORIES=     sysutils
MASTER_SITES=       ${MASTER_SITE_COMP_SOURCES}
MASTER_SITE_SUBDIR= unix/volume10
DISTNAME=       copytape
EXTRACT_SUFX=       .Z

MAINTAINER=     sjr@comcast.net
COMMENT=        A program that is used to duplicate magtapes

EXTRACT_DEPENDS=    gunshar:${PORTSDIR}/archivers/sharutils

NO_WRKSUBDIR=       yes

EXTRACT_CMD=        zcat
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= | gunshar -d ${WRKDIR}
ALL_TARGET=     copytape

MAN1=           copytape.1
MAN5=           copytape.5
PLIST_FILES=        bin/copytape

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/copytape ${PREFIX}/bin/copytape
    @${INSTALL_MAN} ${WRKSRC}/copytape.1 ${PREFIX}/man/man1/copytape.1
    @${INSTALL_MAN} ${WRKSRC}/copytape.5 ${PREFIX}/man/man5/copytape.5

.include <bsd.port.mk>