diff options
author | reed <reed> | 2008-03-14 16:16:12 +0000 |
---|---|---|
committer | reed <reed> | 2008-03-14 16:16:12 +0000 |
commit | 4542560b830897abb792a65b89168efaba88e353 (patch) | |
tree | f0502cf7d31d453c38d4cac6466cbd258f71364d /sysutils/lilo | |
parent | ee8c37e7e30aa7035307d70a1a9fef42a6eb28ea (diff) | |
download | pkgsrc-4542560b830897abb792a65b89168efaba88e353.tar.gz |
Use INSTALLATION_DIRS to create directories.
Noticed in cheusov's bulk build that it created plain file as
/usr/pkg/man/man8.
Diffstat (limited to 'sysutils/lilo')
-rw-r--r-- | sysutils/lilo/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/lilo/Makefile b/sysutils/lilo/Makefile index 77dda8be946..9b71ff73d6d 100644 --- a/sysutils/lilo/Makefile +++ b/sysutils/lilo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2008/03/08 00:49:26 reed Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/14 16:16:12 reed Exp $ DISTNAME= lilo-22.8.src PKGNAME= ${DISTNAME:S/.src//} @@ -46,6 +46,10 @@ post-patch: -e "s:@@PKG_SYSCONFDIR@@:${PKG_SYSCONFDIR}:" \ < ${WRKSRC}/config.h.orig > ${WRKSRC}/config.h +# TODO: later handle boot directory too? +INSTALLATION_DIRS= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 \ + share/lilo share/doc/lilo + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/lilo ${PREFIX}/sbin/lilo ${INSTALL_SCRIPT} ${WRKSRC}/mkrescue ${PREFIX}/sbin/mkrescue @@ -53,9 +57,7 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/manPages/lilo.8 ${PREFIX}/${PKGMANDIR}/man8 ${INSTALL_MAN} ${WRKSRC}/manPages/lilo.conf.5 ${PREFIX}/${PKGMANDIR}/man5 ${INSTALL_MAN} ${WRKSRC}/manPages/mkrescue.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lilo ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/lilo - ${INSTALL_DATA_DIR} ${PREFIX}/share/lilo ${INSTALL_DATA} ${WRKSRC}/sample/lilo.sample.conf ${PREFIX}/share/lilo ${INSTALL_DATA} ${FILESDIR}/lilo.conf.example ${PREFIX}/share/lilo |