summaryrefslogtreecommitdiff
path: root/graphics/jpeg2ps
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 15:39:09 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 15:39:09 +0000
commit0921f3f35279f745c8e5b56be3c87c7dee3e5738 (patch)
tree59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/jpeg2ps
parent0157fc562061bdebd896e09805aa565fff88d662 (diff)
downloadpkgsrc-0921f3f35279f745c8e5b56be3c87c7dee3e5738.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/jpeg2ps')
-rw-r--r--graphics/jpeg2ps/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/jpeg2ps/Makefile b/graphics/jpeg2ps/Makefile
index ad56b8e0154..d62cc490066 100644
--- a/graphics/jpeg2ps/Makefile
+++ b/graphics/jpeg2ps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/01/07 09:13:56 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/04 15:39:10 jlam Exp $
#
DISTNAME= jpeg2ps-1.9
@@ -9,15 +9,15 @@ MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://www.pdflib.com/products/more/jpeg2ps.html
COMMENT= Convert jpeg images to PostScript level 2 or 3
-
RESTRICTED= may not be sold
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"