summaryrefslogtreecommitdiff
path: root/misc/dtach/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-06-14 01:09:42 +0000
committerjlam <jlam@pkgsrc.org>2007-06-14 01:09:42 +0000
commit95a227c3e76bd795aa0e6beb8360fb74183be7c4 (patch)
tree605aaf47ce02262fa186df7f435a970a5927b213 /misc/dtach/Makefile
parent20798b0abe07114d04e506e337be3be9f15cb25f (diff)
downloadpkgsrc-95a227c3e76bd795aa0e6beb8360fb74183be7c4.tar.gz
Pre-create directories used in the do-install target.
Diffstat (limited to 'misc/dtach/Makefile')
-rw-r--r--misc/dtach/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/dtach/Makefile b/misc/dtach/Makefile
index e18e5bfe9a6..3459f80c45d 100644
--- a/misc/dtach/Makefile
+++ b/misc/dtach/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/06/13 23:56:11 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2007/06/14 01:09:42 jlam Exp $
DISTNAME= dtach-0.7
CATEGORIES= misc
@@ -14,6 +14,8 @@ BUILD_TARGET= dtach
DOCS= COPYING README dtach.spec
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC:Q}/dtach ${PREFIX:Q}/bin
${INSTALL_MAN} ${WRKSRC:Q}/dtach.1 ${PREFIX:Q}/${PKGMANDIR:Q}/man1