summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2009-02-11 00:33:54 +0000
committergdt <gdt@pkgsrc.org>2009-02-11 00:33:54 +0000
commit2bbc285339067a55ddf018f52ac0a837577f0920 (patch)
tree0cc8dd650dba9e2b1c78301372d5a4d5294d1ad4 /devel
parentc841e3444da4da92d44304fd2543f2751b0a9f55 (diff)
downloadpkgsrc-2bbc285339067a55ddf018f52ac0a837577f0920.tar.gz
user-destdir
Diffstat (limited to 'devel')
-rw-r--r--devel/fann-devel/Makefile8
-rw-r--r--devel/fann/Makefile8
2 files changed, 10 insertions, 6 deletions
diff --git a/devel/fann-devel/Makefile b/devel/fann-devel/Makefile
index c88002ebe6d..69814dd8f24 100644
--- a/devel/fann-devel/Makefile
+++ b/devel/fann-devel/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/10/12 18:30:22 gdt Exp $
+# $NetBSD: Makefile,v 1.2 2009/02/11 00:39:10 gdt Exp $
.include "Makefile.common"
COMMENT= Fast Artificial Neural Network
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
@@ -14,7 +16,7 @@ USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= fann.pc.in
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fann
- (cd ${WRKSRC} && ${INSTALL_DATA} doc/* ${PREFIX}/share/doc/fann)
+ ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/share/doc/fann
+ (cd ${WRKSRC} && ${INSTALL_DATA} doc/* ${DESTDIR}/${PREFIX}/share/doc/fann)
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/fann/Makefile b/devel/fann/Makefile
index c524c8a8392..541c4f900c5 100644
--- a/devel/fann/Makefile
+++ b/devel/fann/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2006/10/05 14:55:21 gdt Exp $
+# $NetBSD: Makefile,v 1.3 2009/02/11 00:33:54 gdt Exp $
.include "Makefile.common"
COMMENT= Fast Artificial Neural Network
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
@@ -12,7 +14,7 @@ GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= fann.pc.in
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fann
- (cd ${WRKSRC} && ${INSTALL_DATA} doc/* ${PREFIX}/share/doc/fann)
+ ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/share/doc/fann
+ (cd ${WRKSRC} && ${INSTALL_DATA} doc/* ${DESTDIR}/${PREFIX}/share/doc/fann)
.include "../../mk/bsd.pkg.mk"