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 | 949f1a7d439d8dba3326bb3fce5b17a05eac7f39 (patch) | |
tree | 8033978fc4243891875915330369a7a6189522e9 /pkgtools | |
parent | 0b5175c0c5692c207d7aa1531c36687c4b2a867f (diff) | |
download | pkgsrc-949f1a7d439d8dba3326bb3fce5b17a05eac7f39.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')
-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" |