diff options
author | seb <seb@pkgsrc.org> | 2003-12-23 19:48:31 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2003-12-23 19:48:31 +0000 |
commit | b5c6b87e1815934348b672de70c31b10b95435d3 (patch) | |
tree | 8033978fc4243891875915330369a7a6189522e9 /pkgtools/libkver/Makefile | |
parent | abe5cf868842604bc49837551e1f57ac20bb088a (diff) | |
download | pkgsrc-b5c6b87e1815934348b672de70c31b10b95435d3.tar.gz |
Replace ad hoc creation of installation directories in pre-install target
by INSTALLATION_DIRS framework.
While here also create {man,cat}pages directories.
Diffstat (limited to 'pkgtools/libkver/Makefile')
-rw-r--r-- | pkgtools/libkver/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgtools/libkver/Makefile b/pkgtools/libkver/Makefile index 86e8272dc86..d4b535797f4 100644 --- a/pkgtools/libkver/Makefile +++ b/pkgtools/libkver/Makefile @@ -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 @@ FILES_SUBST+= HAS_SYSCTL=false INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL -do-extract: - @${CP} -Rp ${FILESDIR} ${WRKSRC} - -pre-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib +INSTALLATION_DIRS+= lib man/man3 man/cat3 .if empty(LDD_SYSCTL:M*libc*) - ${INSTALL_DATA_DIR} ${PREFIX}/sbin +INSTALLATION_DIRS+= sbin .endif +do-extract: + @${CP} -Rp ${FILESDIR} ${WRKSRC} + .include "../../mk/bsd.pkg.mk" |