diff options
author | reed <reed@pkgsrc.org> | 2008-03-14 16:16:12 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2008-03-14 16:16:12 +0000 |
commit | d4cf170bf4cc53806731f354d120171de3af1f3c (patch) | |
tree | f0502cf7d31d453c38d4cac6466cbd258f71364d /sysutils | |
parent | fd91e6e27519e9f8bc95d7336d31d3d1f9358c1a (diff) | |
download | pkgsrc-d4cf170bf4cc53806731f354d120171de3af1f3c.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')
-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 |