302b172aca
+ ZOULARISBASE is gone - just use PREFIX to find bmake + WRKDIR contains the name of the work directory, so find this out from pkgsrc + remove getcwd() calls, and use WRKDIR to find the place where the various informational files are placed + retain the ability to set the working directory from the command-line, but it is almost useless these days Bump pkg revision to 2.
20 lines
446 B
Makefile
20 lines
446 B
Makefile
# $NetBSD: Makefile,v 1.20 2004/11/05 16:44:46 agc Exp $
|
|
#
|
|
|
|
DISTNAME= gensolpkg-1.10
|
|
PKGREVISION= 2
|
|
CATEGORIES= pkgtools
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MAINTAINER= agc@NetBSD.org
|
|
COMMENT= Utility to generate a Solaris package
|
|
|
|
ONLY_FOR_PLATFORM= SunOS-*-* # uses Solaris pkgmk(1)
|
|
|
|
MAKE_ENV+= CPPFLAGS="" CC=${CC:Q}
|
|
MAKEFLAGS+= PREFIX=${PREFIX:Q}
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${MAKE} install PREFIX=${PREFIX}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|