pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel Do not use the BSD makefiles to install the file...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52dc3c344941
branches:  trunk
changeset: 489359:52dc3c344941
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sun Feb 20 00:52:46 2005 +0000

description:
Do not use the BSD makefiles to install the files, because it tries
to install the files into /lib, use our own do-install target.

diffstat:

 devel/libaura/Makefile |   9 ++++++++-
 devel/libaura/PLIST    |   2 +-
 devel/libdfui/Makefile |  13 ++++++++++++-
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r 5cb3c417c9cd -r 52dc3c344941 devel/libaura/Makefile
--- a/devel/libaura/Makefile    Sun Feb 20 00:51:27 2005 +0000
+++ b/devel/libaura/Makefile    Sun Feb 20 00:52:46 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/02/20 00:23:03 xtraeme Exp $
+# $NetBSD: Makefile,v 1.3 2005/02/20 00:52:46 xtraeme Exp $
 #
 
 DISTNAME=      libaura-2.0
@@ -19,4 +19,11 @@
 SUBST_SED.prefix=      -e "s,/usr/local,${PREFIX},g"
 SUBST_MESSAGE.prefix=  "Fixing hardcoded paths."
 
+INSTALLATION_DIRS=     include/aura lib
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/aura
+       ${INSTALL_LIB} ${WRKSRC}/libaura.so* ${PREFIX}/lib
+       ${INSTALL_LIB} ${WRKSRC}/*.a ${PREFIX}/lib
+       
 .include "../../mk/bsd.pkg.mk"
diff -r 5cb3c417c9cd -r 52dc3c344941 devel/libaura/PLIST
--- a/devel/libaura/PLIST       Sun Feb 20 00:51:27 2005 +0000
+++ b/devel/libaura/PLIST       Sun Feb 20 00:52:46 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/09 05:40:28 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/02/20 00:52:46 xtraeme Exp $
 include/aura/buffer.h
 include/aura/dict.h
 include/aura/fspred.h
diff -r 5cb3c417c9cd -r 52dc3c344941 devel/libdfui/Makefile
--- a/devel/libdfui/Makefile    Sun Feb 20 00:51:27 2005 +0000
+++ b/devel/libdfui/Makefile    Sun Feb 20 00:52:46 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/02/20 00:33:18 xtraeme Exp $
+# $NetBSD: Makefile,v 1.3 2005/02/20 00:52:46 xtraeme Exp $
 #
 
 DISTNAME=      libdfui-3.0
@@ -19,5 +19,16 @@
 SUBST_SED.prefix=      -e "s,/usr/local,${PREFIX},g"
 SUBST_MESSAGE.prefix=  "Fixing hardcoded paths."
 
+INSTALLATION_DIRS=     include/dfui lib
+
+HEADER_FILES=          dfui dump lang system
+
+do-install:
+.for f in ${HEADER_FILES}
+       ${INSTALL_DATA} ${WRKSRC}/${f}.h ${PREFIX}/include/dfui
+.endfor
+       ${INSTALL_LIB} ${WRKSRC}/libdfui.so* ${PREFIX}/lib
+       ${INSTALL_LIB} ${WRKSRC}/libdfui*.a ${PREFIX}/lib
+
 .include "../../devel/libaura/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index