2007-02-22 20:26:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2007/02/22 19:27:12 wiz Exp $
|
2004-12-02 11:08:03 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= sformat-3.5
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2004-12-02 11:08:03 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= ftp://ftp.berlios.de/pub/sformat/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= Andreas.Hallmann@tiscali.de,pkgsrc-users@NetBSD.org
|
2004-12-02 11:08:03 +01:00
|
|
|
HOMEPAGE= http://freshmeat.net/projects/sformat
|
2005-12-05 21:49:47 +01:00
|
|
|
COMMENT= SCSI disk maintainance, formating, and ultimative repair tool with support for NetBSD labels
|
2004-12-02 11:08:03 +01:00
|
|
|
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2004-12-02 11:08:03 +01:00
|
|
|
TBL?= tbl
|
|
|
|
|
|
|
|
# avoid picking up a bad ${ARCH} during the build
|
2007-02-22 20:26:05 +01:00
|
|
|
MAKE_ENV+= ARCH=""
|
|
|
|
MAKE_ENV+= MAKEPROG="gmake"
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= COPTX=${CFLAGS:M*:Q}
|
|
|
|
MAKE_ENV+= LDOPTX=${LDFLAGS:M*:Q}
|
|
|
|
MAKE_FLAGS+= INS_BASE=${LOCALBASE:Q} # won't work in MAKE_ENV!
|
2004-12-02 11:08:03 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
|
2004-12-02 11:08:03 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|