diff options
author | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
commit | 39d7fb93432416d872ed34e0025741cc93068c06 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /cad/pcb | |
parent | cce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff) | |
download | pkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'cad/pcb')
-rw-r--r-- | cad/pcb/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile index ebe040a05c4..6f55a5f39dc 100644 --- a/cad/pcb/Makefile +++ b/cad/pcb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2008/02/02 04:50:20 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.43 2008/06/12 02:14:16 joerg Exp $ # DISTNAME= pcb-20080202 @@ -10,6 +10,7 @@ HOMEPAGE= http://pcb.sourceforge.net/ COMMENT= Printed circuit board layout system PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir DEPENDS+= gettext-tools>=0.14.6:../../devel/gettext-tools @@ -64,7 +65,8 @@ CONFIGURE_ARGS+= --with-exporters=${EXPORTERS:Q} # remove some stuff that is either broken or unmaintained # and would require another runtime depends post-install: - ${RM} ${PREFIX}/share/pcb/tools/PCB2HPGL ${PREFIX}/share/pcb/tools/tgo2pcb.tcl + ${RM} ${DESTDIR}${PREFIX}/share/pcb/tools/PCB2HPGL + ${RM} ${DESTDIR}${PREFIX}/share/pcb/tools/tgo2pcb.tcl .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" |