pkgsrc/sysutils/bsdinstall/Makefile
2015-06-04 17:21:06 +00:00

30 lines
694 B
Makefile

# $NetBSD: Makefile,v 1.4 2015/06/04 17:21:06 ryoon Exp $
DISTNAME= bsdinstall-20130905
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Portable version of the BSD install(1) program
BOOTSTRAP_PKG= yes
USE_BSD_MAKEFILE= yes
USE_FEATURES= nbcompat
INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
@${TOUCH} ${WRKSRC}/bsdinstall.cat1
CPPFLAGS+= -D_PATH_DEVNULL=\"/dev/null\"
CPPFLAGS+= -DTARGET_STRIP=\"${TOOLS_PLATFORM.strip:Q}\"
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MSunOS-5.11-*)
MAKE_ENV+= NOGCCERROR=yes
.endif
.include "../../mk/bsd.pkg.mk"