From 9c7df62f22b5829b0c8ff8ff72b1bea88e2121fb Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 3 Feb 2010 21:55:04 +0000 Subject: DESTDIR support --- graphics/tuxpaint-stamps/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'graphics/tuxpaint-stamps') diff --git a/graphics/tuxpaint-stamps/Makefile b/graphics/tuxpaint-stamps/Makefile index 0c3db5289ed..b85031ae48b 100644 --- a/graphics/tuxpaint-stamps/Makefile +++ b/graphics/tuxpaint-stamps/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/09/04 21:22:05 drochner Exp $ +# $NetBSD: Makefile,v 1.16 2010/02/03 22:13:09 joerg Exp $ # DISTNAME= tuxpaint-stamps-2007.07.01 @@ -9,13 +9,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.tuxpaint.org/ COMMENT= Rubber stamps for Tux Paint +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= tuxpaint>=0.9.13:../../graphics/tuxpaint CONFLICTS+= tuxpaint<0.9.13 INSTALL_TARGET= install-all +INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} post-install: - -${FIND} ${PREFIX}/share/tuxpaint/stamps -name CVS -exec \ + -${FIND} ${DESTDIR}${PREFIX}/share/tuxpaint/stamps -name CVS -exec \ ${RM} -r {} \; 2>/dev/null .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3