summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"