summaryrefslogtreecommitdiff
path: root/devel/fann
diff options
context:
space:
mode:
authorgdt <gdt>2009-02-11 00:33:54 +0000
committergdt <gdt>2009-02-11 00:33:54 +0000
commitd810895284dca7a300254cfbd576ae6099675552 (patch)
tree0cc8dd650dba9e2b1c78301372d5a4d5294d1ad4 /devel/fann
parent4d7d2c1d927ef2e775e671942118633eaf8d3b58 (diff)
downloadpkgsrc-d810895284dca7a300254cfbd576ae6099675552.tar.gz
user-destdir
Diffstat (limited to 'devel/fann')
-rw-r--r--devel/fann/Makefile8
1 files changed, 5 insertions, 3 deletions
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"