blob: ab307e61c971fc10e98700d1dbd425e6b37544e7 (
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
|
# $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"
|