pkgsrc/sysutils/mtscan/Makefile

30 lines
742 B
Makefile

# $NetBSD: Makefile,v 1.12 2012/10/23 19:51:14 asau Exp $
DISTNAME= mtscan-20050129
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mail-index.NetBSD.org/port-i386/2005/01/29/0011.html
COMMENT= Magtape scanner - reports record and file-mark structure
NOT_FOR_PLATFORM= Interix-*-* # no local tape ioctls
CPPFLAGS+= -DMTIO
INSTALLATION_DIRS= bin
do-extract:
${CP} -R ${FILESDIR} ${WRKSRC}
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o mtscan mtscan.c \
${LDFLAGS} ${BUILDLINK_LDADD.termcap}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mtscan ${DESTDIR}${PREFIX}/bin
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"