blob: 32f0f4d34309fb0bed1e37cd8a42fe7c19a1b6e9 (
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
35
|
# $NetBSD: Makefile,v 1.7 2006/03/04 21:30:43 jlam Exp $
#
DISTNAME= sformat-3.5
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.berlios.de/pub/sformat/
MAINTAINER= Andreas.Hallmann@tiscali.de,pkgsrc-users@NetBSD.org
HOMEPAGE= http://freshmeat.net/projects/sformat
COMMENT= SCSI disk maintainance, formating, and ultimative repair tool with support for NetBSD labels
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/bsd.prefs.mk"
USE_TOOLS+= gmake
TBL?= tbl
# avoid picking up a bad ${ARCH} during the build
MAKE_ENV+= ARCH=""
MAKE_ENV+= MAKEPROG="gmake"
MAKE_ENV+= COPTX=${CFLAGS:M*:Q}
MAKE_ENV+= LDOPTX=${LDFLAGS:M*:Q}
MAKE_FLAGS+= INS_BASE=${LOCALBASE:Q} # won't work in MAKE_ENV!
# if we're using a gcc which is named gcc, we need to set CCOM=gcc
# in MAKE_ENV so the make infrastructure picks the right options.
.if !empty(CC:M*gcc*)
MAKE_ENV+= CCOM="gcc"
.endif
INSTALLATION_DIRS= bin include lib man/man5 man/man8
.include "../../mk/bsd.pkg.mk"
|