summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-12-30 13:19:39 +0000
committerobache <obache@pkgsrc.org>2007-12-30 13:19:39 +0000
commit833167390b503e4b88c57a90be350fbcf1a08334 (patch)
treec2bdb46a2d4c5417950b110b7d0a38020c048dd2 /sysutils
parent3e213a938d503cd02b9831fd238da79d59026b34 (diff)
downloadpkgsrc-833167390b503e4b88c57a90be350fbcf1a08334.tar.gz
* Need some pre-created directories before install.
* Change install stage to usual way.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/depot/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/depot/Makefile b/sysutils/depot/Makefile
index b3066daafc1..c9f74d5778c 100644
--- a/sysutils/depot/Makefile
+++ b/sysutils/depot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/03/04 11:29:58 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2007/12/30 13:19:39 obache Exp $
#
DISTNAME= depot-5.14
@@ -16,9 +16,11 @@ USE_TOOLS+= lex yacc
CONFIGURE_ENV+= INSTALL="" CC=${CC:Q}
MAKE_ENV+= CC=${CC:Q}
-do-install:
- cd ${WRKSRC}/src/cmd && ${MAKE} DESTDIR=${PREFIX} install
- cd ${WRKSRC}/man/man1 && ${MAKE} MANDIR=${PREFIX}/${PKGMANDIR} install
- cd ${WRKSRC}/man/man5 && ${MAKE} MANDIR=${PREFIX}/${PKGMANDIR} install
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
+
+INSTALL_DIRS= src/cmd man/man1 man/man5
+
+INSTALL_MAKE_FLAGS+= DESTDIR=${PREFIX}
+INSTALL_MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
.include "../../mk/bsd.pkg.mk"