summaryrefslogtreecommitdiff
path: root/devel/cvsync
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-03-06 12:36:45 +0000
committergrant <grant@pkgsrc.org>2003-03-06 12:36:45 +0000
commitc6ae1abbad7226207d8655daeb4500a679003642 (patch)
tree852cbee320a978b0294b6a4a9474c3cddec41f35 /devel/cvsync
parent85605d4eb8a7f83762368332373c8f4ede6b6709 (diff)
downloadpkgsrc-c6ae1abbad7226207d8655daeb4500a679003642.tar.gz
allow this to build on -current systems where the kernel version
has pthread support but userland does not. also install some example config files. bump PKGREVISION.
Diffstat (limited to 'devel/cvsync')
-rw-r--r--devel/cvsync/Makefile15
-rw-r--r--devel/cvsync/PLIST5
2 files changed, 18 insertions, 2 deletions
diff --git a/devel/cvsync/Makefile b/devel/cvsync/Makefile
index 959ae922220..15c66d9f53b 100644
--- a/devel/cvsync/Makefile
+++ b/devel/cvsync/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/03/06 09:08:30 martin Exp $
+# $NetBSD: Makefile,v 1.2 2003/03/06 12:36:45 grant Exp $
#
DISTNAME= cvsync-0.14.0
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.daemon-systems.org/cvsync/
EXTRACT_SUFX= .tgz
@@ -12,6 +13,18 @@ COMMENT= a portable incremental cvs repository syncer
WRKSRC= ${WRKDIR}/cvsync-0.14.0
USE_BUILDLINK2= YES
+USE_PKGINSTALL= YES
USE_GMAKE= YES
+MAKE_ENV+= PTHREAD_TYPE=${PTHREAD_TYPE}
+
+EGDIR= ${PREFIX}/share/examples/cvsync
+CONF_FILES+= ${EGDIR}/cvsync.conf ${PKG_SYSCONFDIR}/cvsync.conf
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cvsync
+ ${INSTALL_DATA} ${WRKSRC}/samples/cvsync.conf ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/cvsyncd.conf ${EGDIR}
+
+.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cvsync/PLIST b/devel/cvsync/PLIST
index 6c016ce495c..997a2d82b23 100644
--- a/devel/cvsync/PLIST
+++ b/devel/cvsync/PLIST
@@ -1,6 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/06 09:08:30 martin Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/03/06 12:36:45 grant Exp $
bin/cvscan
bin/cvsync
bin/cvsyncd
bin/rcscan
bin/rcscmp
+share/examples/cvsync/cvsync.conf
+share/examples/cvsync/cvsyncd.conf
+@dirrm share/examples/cvsync