pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel user-destdir
details: https://anonhg.NetBSD.org/pkgsrc/rev/3402b0ec8685
branches: trunk
changeset: 554235:3402b0ec8685
user: gdt <gdt%pkgsrc.org@localhost>
date: Wed Feb 11 00:33:54 2009 +0000
description:
user-destdir
diffstat:
devel/fann-devel/Makefile | 8 +++++---
devel/fann/Makefile | 8 +++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diffs (52 lines):
diff -r 97a620a753f7 -r 3402b0ec8685 devel/fann-devel/Makefile
--- a/devel/fann-devel/Makefile Wed Feb 11 00:16:41 2009 +0000
+++ b/devel/fann-devel/Makefile Wed Feb 11 00:33:54 2009 +0000
@@ -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 @@
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 -r 97a620a753f7 -r 3402b0ec8685 devel/fann/Makefile
--- a/devel/fann/Makefile Wed Feb 11 00:16:41 2009 +0000
+++ b/devel/fann/Makefile Wed Feb 11 00:33:54 2009 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index