From 3b0d97b0de8516db29699676c860489da3f7f0e1 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 20 Jun 2008 01:09:05 +0000 Subject: Add DESTDIR support. --- print/gimp-print-ijs/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'print/gimp-print-ijs') diff --git a/print/gimp-print-ijs/Makefile b/print/gimp-print-ijs/Makefile index caa304ec71a..24694f266d6 100644 --- a/print/gimp-print-ijs/Makefile +++ b/print/gimp-print-ijs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2008/01/13 01:20:28 gdt Exp $ +# $NetBSD: Makefile,v 1.24 2008/06/20 01:09:33 joerg Exp $ DISTNAME= gimp-print-4.2.7 PKGNAME= gimp-print-ijs-4.2.7 @@ -9,6 +9,8 @@ MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://gimp-print.sourceforge.net/ COMMENT= GIMP print IJS server +PKG_DESTDIR_SUPPORT= user-destdir + USE_LIBTOOL= yes USE_TOOLS+= gmake lex @@ -25,9 +27,10 @@ CONFIGURE_ARGS+= --disable-libgimpprint BUILD_DIRS= ${WRKSRC}/lib ${WRKSRC}/src/ghost DOCDIR= ${PREFIX}/share/doc/gimp-print-ijs +INSTALLATION_DIRS= ${DOCDIR} + post-install: - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/src/ghost/README ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/src/ghost/README ${DESTDIR}${DOCDIR} .include "../../print/gimp-print-lib/buildlink3.mk" .include "../../print/ijs/buildlink3.mk" -- cgit v1.2.3