blob: a590f922f29e527f62de55295fb76eabe2b335ec (
plain)
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
|
# $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"
|