pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/libkver Replace ad hoc creation of installati...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5312e06b3174
branches:  trunk
changeset: 465200:5312e06b3174
user:      seb <seb%pkgsrc.org@localhost>
date:      Tue Dec 23 19:48:31 2003 +0000

description:
Replace ad hoc creation of installation directories in pre-install target
by INSTALLATION_DIRS framework.

While here also create {man,cat}pages directories.

diffstat:

 pkgtools/libkver/Makefile |  13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r ec6675f70140 -r 5312e06b3174 pkgtools/libkver/Makefile
--- a/pkgtools/libkver/Makefile Tue Dec 23 18:27:24 2003 +0000
+++ b/pkgtools/libkver/Makefile Tue Dec 23 19:48:31 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/12/13 17:45:59 seb Exp $
+# $NetBSD: Makefile,v 1.9 2003/12/23 19:48:31 seb Exp $
 
 DISTNAME=              libkver-${VERSION}
 CATEGORIES=            pkgtools
@@ -35,13 +35,12 @@
 INSTALL_EXTRA_TMPL+=   ${.CURDIR}/INSTALL
 DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
 
+INSTALLATION_DIRS+=    lib man/man3 man/cat3
+.if empty(LDD_SYSCTL:M*libc*)
+INSTALLATION_DIRS+=    sbin
+.endif
+
 do-extract:
        @${CP} -Rp ${FILESDIR} ${WRKSRC}
 
-pre-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/lib
-.if empty(LDD_SYSCTL:M*libc*)
-       ${INSTALL_DATA_DIR} ${PREFIX}/sbin
-.endif
-
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index