pkgsrc/sysutils/mtscan/Makefile
jlam eb72adfa9f Honor CFLAGS and LDFLAGS, and include termcap.buildlink3.mk to get the
correct library to use for the t*() termcap functions.

Bump the PKGREVISION to 1.
2008-03-05 17:17:52 +00:00

34 lines
795 B
Makefile

# $NetBSD: Makefile,v 1.10 2008/03/05 17:17:52 jlam 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
PKG_DESTDIR_SUPPORT= user-destdir
NO_CHECKSUM= yes
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"