diff options
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/gensolpkg/Makefile | 15 | ||||
-rw-r--r-- | pkgtools/gensolpkg/PLIST | 4 |
2 files changed, 12 insertions, 7 deletions
diff --git a/pkgtools/gensolpkg/Makefile b/pkgtools/gensolpkg/Makefile index 4a41c6c87e4..2d33ac7c26d 100644 --- a/pkgtools/gensolpkg/Makefile +++ b/pkgtools/gensolpkg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2004/11/05 16:44:46 agc Exp $ +# $NetBSD: Makefile,v 1.21 2011/05/28 17:27:08 cheusov Exp $ # DISTNAME= gensolpkg-1.10 @@ -8,13 +8,18 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} MAINTAINER= agc@NetBSD.org COMMENT= Utility to generate a Solaris package +LICENSE= original-bsd + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_BSD_MAKEFILE= yes ONLY_FOR_PLATFORM= SunOS-*-* # uses Solaris pkgmk(1) -MAKE_ENV+= CPPFLAGS="" CC=${CC:Q} -MAKEFLAGS+= PREFIX=${PREFIX:Q} +INSTALLATION_DIRS= sbin ${PKGMANDIR}/man1 -do-install: - cd ${WRKSRC} && ${MAKE} install PREFIX=${PREFIX} +MAKE_ENV+= CPPFLAGS="" CC=${CC:Q} +MAKEFLAGS+= PREFIX=${PREFIX} +INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} .include "../../mk/bsd.pkg.mk" diff --git a/pkgtools/gensolpkg/PLIST b/pkgtools/gensolpkg/PLIST index d5847dea4b9..c58adb5e415 100644 --- a/pkgtools/gensolpkg/PLIST +++ b/pkgtools/gensolpkg/PLIST @@ -1,3 +1,3 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 21:19:00 zuntum Exp $ -sbin/gensolpkg +@comment $NetBSD: PLIST,v 1.2 2011/05/28 17:27:08 cheusov Exp $ man/man1/gensolpkg.1 +sbin/gensolpkg |