summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-17 03:50:19 +0000
committerjlam <jlam@pkgsrc.org>2005-06-17 03:50:19 +0000
commite46a9dd38060ef6414b4db2f15402a701e32c7b7 (patch)
tree067490bfc0f733c9b522363134ffa36e43b49192 /pkgtools
parent412af280c005dfc946b85f88a9e754232c586fc7 (diff)
downloadpkgsrc-e46a9dd38060ef6414b4db2f15402a701e32c7b7.tar.gz
Create directories before installing files into them.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/binpatch/Makefile4
-rw-r--r--pkgtools/cdpack/Makefile4
-rw-r--r--pkgtools/dfdisk/Makefile4
-rw-r--r--pkgtools/distfetch/Makefile4
-rw-r--r--pkgtools/pkg_filecheck/Makefile4
-rw-r--r--pkgtools/pkgconflict/Makefile4
-rw-r--r--pkgtools/pkgdep/Makefile4
-rw-r--r--pkgtools/pkgdepgraph/Makefile4
-rw-r--r--pkgtools/pkgsurvey/Makefile4
-rw-r--r--pkgtools/port2pkg/Makefile4
-rw-r--r--pkgtools/rc.subr/Makefile4
-rw-r--r--pkgtools/rpm2pkg/Makefile4
12 files changed, 36 insertions, 12 deletions
diff --git a/pkgtools/binpatch/Makefile b/pkgtools/binpatch/Makefile
index 5a1f0df1463..06c1a2e45d3 100644
--- a/pkgtools/binpatch/Makefile
+++ b/pkgtools/binpatch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/05/07 22:24:04 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2005/06/17 03:50:29 jlam Exp $
#
DISTNAME= binpatch-1.0
@@ -15,6 +15,8 @@ NO_CHECKSUM= # defined
.include "../../mk/bsd.prefs.mk"
+INSTALLATION_DIRS= bin man/man1
+
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
diff --git a/pkgtools/cdpack/Makefile b/pkgtools/cdpack/Makefile
index 9c80942cb27..1958f9ef4ad 100644
--- a/pkgtools/cdpack/Makefile
+++ b/pkgtools/cdpack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2005/03/14 19:57:52 tv Exp $
+# $NetBSD: Makefile,v 1.19 2005/06/17 03:50:29 jlam Exp $
#
DISTNAME= cdpack-1.5
@@ -18,6 +18,8 @@ WRKSRC= ${WRKDIR}
NO_CHECKSUM= yes
NO_CONFIGURE= yes
+INSTALLATION_DIRS= bin libexec man/man1
+
do-build:
${SED} -e 's;@prefix@;${PREFIX};g' \
-e 's;@progver@;${PKGVERSION};g' ${FILESDIR}/cdpack.sh > \
diff --git a/pkgtools/dfdisk/Makefile b/pkgtools/dfdisk/Makefile
index f772e1e4a0b..0df0d6aafef 100644
--- a/pkgtools/dfdisk/Makefile
+++ b/pkgtools/dfdisk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/01/20 12:23:57 agc Exp $
+# $NetBSD: Makefile,v 1.4 2005/06/17 03:50:29 jlam Exp $
#
DISTNAME= dfdisk-1.0
@@ -27,6 +27,8 @@ FILES_SUBST+= FTP="${ZOULARISBASE}/bin/ftp -p"
FILES_SUBST+= FTP="/usr/bin/ftp -p"
.endif
+INSTALLATION_DIRS= bin man/man1
+
do-build:
.for f in dfdisk.sh dfdisk.1 dfdisk.conf
@${ECHO} "Generating $f..."
diff --git a/pkgtools/distfetch/Makefile b/pkgtools/distfetch/Makefile
index c4d61a4c364..908922f32d7 100644
--- a/pkgtools/distfetch/Makefile
+++ b/pkgtools/distfetch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/01/20 12:23:57 agc Exp $
+# $NetBSD: Makefile,v 1.6 2005/06/17 03:50:29 jlam Exp $
DISTNAME= distfetch-20020930
CATEGORIES= pkgtools
@@ -16,6 +16,8 @@ NO_CONFIGURE= # defined
.include "../../mk/bsd.prefs.mk"
+INSTALLATION_DIRS= bin man/man1
+
do-build:
.for i in distfetch distfetch.1 distfetch.conf
${SED} "s+__PREFIX__+${PREFIX}+g" < ${FILESDIR}/${i} > ${WRKSRC}/${i}
diff --git a/pkgtools/pkg_filecheck/Makefile b/pkgtools/pkg_filecheck/Makefile
index 6719244da3f..bb807c9a0fb 100644
--- a/pkgtools/pkg_filecheck/Makefile
+++ b/pkgtools/pkg_filecheck/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/05/07 22:24:04 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2005/06/17 03:50:29 jlam Exp $
#
DISTNAME= pkg_filecheck-0.1
@@ -23,6 +23,8 @@ FILES_SUBST+= PKG_DBDIR=${PKG_DBDIR}
CONF_FILES= ${PREFIX}/share/examples/pkg_filecheck/pkg_filecheck.conf \
${PKG_SYSCONFDIR}/pkg_filecheck.conf
+INSTALLATION_DIRS= bin man/man1 man/man5
+
.include "../../mk/bdb.buildlink3.mk"
do-build:
diff --git a/pkgtools/pkgconflict/Makefile b/pkgtools/pkgconflict/Makefile
index 42910fb9b18..a3cac57b1fc 100644
--- a/pkgtools/pkgconflict/Makefile
+++ b/pkgtools/pkgconflict/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2005/04/11 21:47:05 tv Exp $
+# $NetBSD: Makefile,v 1.15 2005/06/17 03:50:29 jlam Exp $
#
DISTNAME= pkgconflict-0.4
@@ -18,6 +18,8 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
CPPFLAGS+= -I${PGSQL_PREFIX}/include/postgresql/server
+INSTALLATION_DIRS= bin lib/postgresql
+
post-extract:
@for f in dewey_cmp.c pkgconflict pkgdbextract; do \
${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/$$f >${WRKSRC}/$$f; \
diff --git a/pkgtools/pkgdep/Makefile b/pkgtools/pkgdep/Makefile
index 3b5b8d32662..b5bce3f9d3a 100644
--- a/pkgtools/pkgdep/Makefile
+++ b/pkgtools/pkgdep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/10/07 02:01:38 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2005/06/17 03:50:29 jlam Exp $
#
DISTNAME= pkgdep-1.0
@@ -16,6 +16,8 @@ EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
NO_CONFIGURE= yes
+INSTALLATION_DIRS= bin
+
do-build:
${CP} ${FILESDIR}/pkgdep.pl ${WRKDIR}/pkgdep
# ${SED} -e 's|/usr/pkgsrc|${PKGSRCDIR}|' \
diff --git a/pkgtools/pkgdepgraph/Makefile b/pkgtools/pkgdepgraph/Makefile
index 3839fc2cdb7..acf95c806a9 100644
--- a/pkgtools/pkgdepgraph/Makefile
+++ b/pkgtools/pkgdepgraph/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2005/05/07 22:24:04 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2005/06/17 03:50:29 jlam Exp $
#
DISTNAME= pkgdepgraph-2.7
@@ -24,6 +24,8 @@ DISTVER= ${DISTNAME:S/pkgdepgraph-//}
.include "../../mk/bsd.prefs.mk"
+INSTALLATION_DIRS= bin man/cat1 man/man1
+
do-extract:
${CP} ${FILESDIR}/pkgdepgraph.pl ${WRKSRC}/pkgdepgraph.pl
${CP} ${FILESDIR}/pkgdepgraph.1 ${WRKSRC}/pkgdepgraph.1.in
diff --git a/pkgtools/pkgsurvey/Makefile b/pkgtools/pkgsurvey/Makefile
index 784cb8a8e1d..5af64943e05 100644
--- a/pkgtools/pkgsurvey/Makefile
+++ b/pkgtools/pkgsurvey/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/01/20 12:23:58 agc Exp $
+# $NetBSD: Makefile,v 1.8 2005/06/17 03:50:29 jlam Exp $
#
DISTNAME= pkgsurvey-0.0
@@ -14,6 +14,8 @@ NO_CHECKSUM= yes
NO_CONFIGURE= yes
NO_BUILD= yes
+INSTALLATION_DIRS= bin
+
do-install:
${SED} -e 's|\$${PKG_INFO}|${PKG_INFO}|' \
-e 's|\$${UNAME}|${UNAME}|g' \
diff --git a/pkgtools/port2pkg/Makefile b/pkgtools/port2pkg/Makefile
index 422a53f35f2..cb4ca9d17d2 100644
--- a/pkgtools/port2pkg/Makefile
+++ b/pkgtools/port2pkg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2005/05/16 01:15:32 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2005/06/17 03:50:29 jlam Exp $
#
DISTNAME= port2pkg-1.11
@@ -22,6 +22,8 @@ USE_TOOLS+= gtar
.include "../../mk/bsd.prefs.mk"
+INSTALLATION_DIRS= bin man/cat1 man/man1
+
do-build:
.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
# the pre-generated man-pages are 'mandoc'; these OS need 'man'
diff --git a/pkgtools/rc.subr/Makefile b/pkgtools/rc.subr/Makefile
index 903cf1dbde9..d9b5929f3fb 100644
--- a/pkgtools/rc.subr/Makefile
+++ b/pkgtools/rc.subr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/01/06 05:32:30 tv Exp $
+# $NetBSD: Makefile,v 1.11 2005/06/17 03:50:30 jlam Exp $
#
DISTNAME= rc.subr-20041011
@@ -23,6 +23,8 @@ PLIST_SUBST+= RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR:S/^\///}
CONF_FILES+= ${PREFIX}etc/rc.conf.example ${PREFIX}etc/rc.conf
+INSTALLATION_DIRS= etc
+
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
diff --git a/pkgtools/rpm2pkg/Makefile b/pkgtools/rpm2pkg/Makefile
index 82d013ab639..27f1960d968 100644
--- a/pkgtools/rpm2pkg/Makefile
+++ b/pkgtools/rpm2pkg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2005/05/16 17:35:29 minskim Exp $
+# $NetBSD: Makefile,v 1.28 2005/06/17 03:50:30 jlam Exp $
DISTNAME= rpm2pkg-2.1
PKGREVISION= 1
@@ -25,6 +25,8 @@ LIBS= -lrpm -lintl -lz -lbz2
CFLAGS+= -Wall
.endif
+INSTALLATION_DIRS= man/man8 sbin
+
do-build:
${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${WRKSRC}/rpm2pkg \
${FILESDIR}/rpm2pkg.c ${LIBS}