summaryrefslogtreecommitdiff
path: root/devel/gputils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gputils/Makefile')
-rw-r--r--devel/gputils/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/devel/gputils/Makefile b/devel/gputils/Makefile
index a87a2581e26..8643d23ffb7 100644
--- a/devel/gputils/Makefile
+++ b/devel/gputils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/05/02 16:03:00 bouyer Exp $
+# $NetBSD: Makefile,v 1.11 2010/01/29 18:02:12 joerg Exp $
DISTNAME= gputils-0.13.5
CATEGORIES= devel
@@ -8,16 +8,19 @@ MAINTAINER= dogcow@NetBSD.org
HOMEPAGE= http://gputils.sourceforge.net/
COMMENT= collection of tools for Microchip's PIC micro-processors
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= gpasm-*
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
+INSTALLATION_DIRS== share/doc/gputils
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gputils
- for i in ps pdf lyx; do \
- ${INSTALL_DATA} ${WRKSRC}/doc/gputils.$$i \
- ${PREFIX}/share/doc/gputils; \
- done
+ for i in ps pdf lyx; do \
+ ${INSTALL_DATA} ${WRKSRC}/doc/gputils.$$i \
+ ${DESTDIR}${PREFIX}/share/doc/gputils; \
+ done
.include "../../mk/bsd.pkg.mk"