summaryrefslogtreecommitdiff
path: root/sysutils/copytape/Makefile
blob: 69885f59513f0f51d26eb610f6572ca4d7352a18 (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
# Created by: 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=		sjroz@verizon.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

NO_STAGE=	yes
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>