freebsd-ports/sysutils/copytape/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

38 lines
942 B
Makefile

# Created by: Stephen J. Roznowski <sjr@home.net>
# $FreeBSD$
PORTNAME= copytape
PORTVERSION= 1.0
CATEGORIES= sysutils
MASTER_SITES= COMP_SOURCES/unix/volume10
DISTNAME= copytape
EXTRACT_SUFX= .Z
MAINTAINER= sjroz@verizon.net
COMMENT= Program that is used to duplicate magtapes
BROKEN= No public distfiles
EXTRACT_DEPENDS= gunshar:${PORTSDIR}/archivers/sharutils
NO_WRKSUBDIR= yes
EXTRACT_CMD= zcat
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= | gunshar -d ${WRKDIR}
CFLAGS+= -Wno-return-type
# XXX upstream puts CFLAGS in CC
MAKE_ARGS+= CC="${CC} ${CFLAGS}"
ALL_TARGET= copytape
PLIST_FILES= bin/copytape \
man/man1/copytape.1.gz \
man/man5/copytape.5.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/copytape ${STAGEDIR}${PREFIX}/bin/copytape
${INSTALL_MAN} ${WRKSRC}/copytape.1 ${STAGEDIR}${PREFIX}/man/man1/copytape.1
${INSTALL_MAN} ${WRKSRC}/copytape.5 ${STAGEDIR}${PREFIX}/man/man5/copytape.5
.include <bsd.port.mk>