[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / gensolpkg

File: [cvs.NetBSD.org] / pkgsrc / pkgtools / gensolpkg / Makefile (download)

Revision 1.21, Sat May 28 17:27:08 2011 UTC (12 years, 10 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.20: +10 -5 lines


Provide DESTDIR and UNPRIVILEGED installation support
Add LICENCE
Fix a few pkglint warnings

# $NetBSD: Makefile,v 1.21 2011/05/28 17:27:08 cheusov 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
LICENSE=	original-bsd

PKG_DESTDIR_SUPPORT=	user-destdir

USE_BSD_MAKEFILE=	yes

ONLY_FOR_PLATFORM=	SunOS-*-*	# uses Solaris pkgmk(1)

INSTALLATION_DIRS=	sbin ${PKGMANDIR}/man1

MAKE_ENV+=	CPPFLAGS="" CC=${CC:Q}
MAKEFLAGS+=	PREFIX=${PREFIX}
INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX}

.include "../../mk/bsd.pkg.mk"