diff options
Diffstat (limited to 'sysutils/sformat/Makefile')
-rw-r--r-- | sysutils/sformat/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/sformat/Makefile b/sysutils/sformat/Makefile new file mode 100644 index 00000000000..61501e10efb --- /dev/null +++ b/sysutils/sformat/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/12/02 10:08:03 hubertf Exp $ +# + +DISTNAME= sformat-3.5 +CATEGORIES= sysutils +MASTER_SITES= ftp://ftp.berlios.de/pub/sformat/ + +MAINTAINER= Andreas.Hallmann@tiscali.de,hubertf@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_BUILDLINK3= yes +USE_GNU_TOOLS+= make +TBL?= tbl + +# avoid picking up a bad ${ARCH} during the build +MAKE_ENV+= ARCH="" +MAKE_ENV+= MAKEPROG="gmake" +MAKE_ENV+= COPTX="${CFLAGS}" +MAKE_ENV+= LDOPTX="${LDFLAGS}" +MAKE_FLAGS+= INS_BASE="${LOCALBASE}" # 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" |