summaryrefslogtreecommitdiff
path: root/devel/cvsync
diff options
context:
space:
mode:
authorgrant <grant>2003-03-06 12:36:45 +0000
committergrant <grant>2003-03-06 12:36:45 +0000
commit0809ee42d7f807d11d55aae1efd1f03b814c3753 (patch)
tree852cbee320a978b0294b6a4a9474c3cddec41f35 /devel/cvsync
parent4e06ff0f211b88e0626a26d7674cf042256e5dea (diff)
downloadpkgsrc-0809ee42d7f807d11d55aae1efd1f03b814c3753.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