pkgsrc/sysutils/sformat/Makefile
rodent a0a1f2e57c Fixes:
COMMENT should not be longer than 70 characters.
 COMMENT should not begin with 'A'.
 COMMENT should not begin with 'An'.
 COMMENT should not begin with 'a'.
 COMMENT should not end with a period.
 COMMENT should start with a capital letter.

pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
2013-04-06 03:45:05 +00:00

43 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2013/04/06 03:45:25 rodent Exp $
#
DISTNAME= sformat-3.5
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.berlios.de/pub/sformat/
MAINTAINER= Andreas.Hallmann@tiscali.de
HOMEPAGE= http://freshmeat.net/projects/sformat
COMMENT= SCSI disk maintainance, formating, and ultimative repair tool
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=${DESTDIR}${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 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
post-extract:
${CP} ${WRKSRC}/RULES/os-freebsd.id ${WRKSRC}/RULES/os-dragonfly.id
${CP} ${WRKSRC}/RULES/os-freebsd.def ${WRKSRC}/RULES/os-dragonfly.def
.for x in amd64 macppc
ln -s i386-netbsd-cc.rul ${WRKSRC}/RULES/${x}-netbsd-cc.rul
ln -s i386-netbsd-cc.rul ${WRKSRC}/RULES/${x}-netbsd-gcc.rul
.endfor
.include "../../mk/bsd.pkg.mk"