summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-03 19:14:25 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-03 19:14:25 +0000
commit5430595a63a9a5ea90cc5dc74531b2f2035ed44c (patch)
treec071b6ec79a1f0bdf8b40d141422cd3d942af75a /devel
parentb8b41112bb8cb00d42283f1972ce87819f4eaf31 (diff)
downloadpkgsrc-5430595a63a9a5ea90cc5dc74531b2f2035ed44c.tar.gz
DESTDIR support.
Diffstat (limited to 'devel')
-rw-r--r--devel/cvsync/Makefile14
-rw-r--r--devel/cvsync/distinfo4
-rw-r--r--devel/cvsync/patches/patch-aa15
-rw-r--r--devel/cvsync/patches/patch-ab13
-rw-r--r--devel/pcre/Makefile3
5 files changed, 40 insertions, 9 deletions
diff --git a/devel/cvsync/Makefile b/devel/cvsync/Makefile
index c361cdccd56..c2b820e3abf 100644
--- a/devel/cvsync/Makefile
+++ b/devel/cvsync/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2006/02/05 23:08:41 joerg Exp $
+# $NetBSD: Makefile,v 1.82 2006/11/03 19:22:55 joerg Exp $
#
DISTNAME= cvsync-0.24.19
@@ -11,9 +11,10 @@ HOMEPAGE= http://www.cvsync.org/
COMMENT= Portable incremental cvs repository syncer
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
-INSTALLATION_DIRS= bin man/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/cvsync
MAKE_ENV+= BINOWN=${BINOWN:Q} BINGRP=${BINGRP:Q} BINMODE=${BINMODE:Q}
MAKE_ENV+= MANMODE=${MANMODE:Q}
@@ -55,11 +56,10 @@ MAKE_ENV+= HASH_TYPE="openssl"
.endif
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/samples/cvsync.conf ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd-FreeBSD.conf ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd-NetBSD.conf ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd-OpenBSD.conf ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/cvsync.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd-FreeBSD.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd-NetBSD.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd-OpenBSD.conf ${DESTDIR}${EGDIR}
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
diff --git a/devel/cvsync/distinfo b/devel/cvsync/distinfo
index 0f22b06bd4f..67f6bbe6efb 100644
--- a/devel/cvsync/distinfo
+++ b/devel/cvsync/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.64 2005/10/20 17:37:04 wiz Exp $
+$NetBSD: distinfo,v 1.65 2006/11/03 19:22:55 joerg Exp $
SHA1 (cvsync-0.24.19.tar.gz) = a3c0673bf0f3b81b1eb45ac828a527d2a4e6d2f6
RMD160 (cvsync-0.24.19.tar.gz) = f98530cfa25d75647af7a4baed7e6184f01207ec
Size (cvsync-0.24.19.tar.gz) = 139695 bytes
+SHA1 (patch-aa) = 6848abba52d055737f13a36fefa2edc67578049e
+SHA1 (patch-ab) = 290332d24c0abf4113d25058275e180a267700aa
diff --git a/devel/cvsync/patches/patch-aa b/devel/cvsync/patches/patch-aa
new file mode 100644
index 00000000000..8448549b916
--- /dev/null
+++ b/devel/cvsync/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.5 2006/11/03 19:22:55 joerg Exp $
+
+--- mk/prog.mk.orig 2006-11-03 15:53:01.000000000 +0000
++++ mk/prog.mk
+@@ -65,8 +65,8 @@ distclean: clean
+ $(RM) .depend ../mk/defaults.mk *.core *.d *.stackdump
+
+ install: all
+- ${INSTALL} ${INSTALL_BIN_OPTS} ${PROG} ${BINDIR}/${PROG}
+- ${INSTALL} ${INSTALL_MAN_OPTS} ${MAN} ${MANDIR}/man1/${MAN}
++ ${INSTALL} ${INSTALL_BIN_OPTS} ${PROG} ${DESTDIR}${BINDIR}/${PROG}
++ ${INSTALL} ${INSTALL_MAN_OPTS} ${MAN} ${DESTDIR}${MANDIR}/man1/${MAN}
+
+ uninstall:
+ $(RM) ${BINDIR}/${PROG} ${MANDIR}/man1/${MAN}
diff --git a/devel/cvsync/patches/patch-ab b/devel/cvsync/patches/patch-ab
new file mode 100644
index 00000000000..c2af71b1ac5
--- /dev/null
+++ b/devel/cvsync/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2006/11/03 19:22:55 joerg Exp $
+
+--- mk/base.mk.orig 2006-11-03 15:57:04.000000000 +0000
++++ mk/base.mk
+@@ -92,7 +92,7 @@ endif # SunOS
+
+ PREFIX ?= /usr/local
+ BINDIR ?= ${PREFIX}/bin
+-MANDIR ?= ${PREFIX}/man
++MANDIR ?= ${PREFIX}/${PKGMANDIR}
+
+ BINOWN ?= root
+ BINGRP ?= wheel
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile
index 562aa759900..01c9edf492b 100644
--- a/devel/pcre/Makefile
+++ b/devel/pcre/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2006/10/04 20:23:46 rillig Exp $
+# $NetBSD: Makefile,v 1.33 2006/11/03 19:22:55 joerg Exp $
DISTNAME= pcre-6.7
CATEGORIES= devel
@@ -11,6 +11,7 @@ HOMEPAGE= http://www.pcre.org/
COMMENT= Perl Compatible Regular Expressions library
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= yes