From 7a1142123798f48c48fc2d1fe38690a6b94d1df7 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 17:45:33 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- devel/p4web/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'devel/p4web') diff --git a/devel/p4web/Makefile b/devel/p4web/Makefile index 77380545108..d7c0e02c0f5 100644 --- a/devel/p4web/Makefile +++ b/devel/p4web/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.2 2005/06/16 06:57:47 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:36 jlam Exp $ # DISTNAME= p4web HOMEPAGE= http://www.perforce.com/perforce/products/p4web.html COMMENT= Perforce SCM Web client +PKG_DESTDIR_SUPPORT= user-destdir + P4BINONLY= # defined .include "../../devel/p4/Makefile.common" @@ -13,6 +15,6 @@ INSTALLATION_DIRS= bin do-install: ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} \ - ${PREFIX}/bin/${DISTNAME} + ${DESTDIR}${PREFIX}/bin/${DISTNAME} .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3