aboutsummaryrefslogtreecommitdiff
path: root/devel/cvsd
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2003-06-12 19:31:54 +0000
committerPatrick Li <pat@FreeBSD.org>2003-06-12 19:31:54 +0000
commitc20f64dcadad2da8f688c39daceb44472512245c (patch)
treec62a566efe8c83415b8386036ce6e320f1a5b649 /devel/cvsd
parent1f39ba744d7ce39d0906ae6d5f4839b901d7c88b (diff)
downloadports-c20f64dcadad2da8f688c39daceb44472512245c.tar.gz
ports-c20f64dcadad2da8f688c39daceb44472512245c.zip
- Fix overwriting cvsd.conf
- Update to 0.9.19 PR: ports/52434, ports/53099 Submitted by: Frank Altpeter <frank@altpeter.de>, KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=82883
Diffstat (limited to 'devel/cvsd')
-rw-r--r--devel/cvsd/Makefile22
-rw-r--r--devel/cvsd/distinfo2
-rw-r--r--devel/cvsd/pkg-plist2
3 files changed, 17 insertions, 9 deletions
diff --git a/devel/cvsd/Makefile b/devel/cvsd/Makefile
index 1c283d0fa838..277629c94308 100644
--- a/devel/cvsd/Makefile
+++ b/devel/cvsd/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= cvsd
-PORTVERSION= 0.9.18
+PORTVERSION= 0.9.19
CATEGORIES= devel
MASTER_SITES= http://tiefighter.et.tudelft.nl/~arthur/cvsd/
@@ -16,7 +16,6 @@ COMMENT= CVS pserver daemon
USE_PERL5= yes
USE_GETOPT_LONG= yes
-USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -27,11 +26,20 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
MAN5= cvsd.conf.5
MAN8= cvsd.8 cvsd-buildroot.8 cvsd-passwd.8
-post-patch:
- @${REINPLACE_CMD} -e 's|init.d/cvsd|rc.d/cvsd.sh.sample|g ; \
- s|init.d|rc.d|g' ${WRKSRC}/Makefile.in
-
-post-install:
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cvsd ${PREFIX}/sbin/cvsd
+.for file in cvsd-buildroot cvsd-passwd
+ ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/sbin/${file}
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/cvsd.init ${PREFIX}/etc/rc.d/cvsd.sh.sample
+ @${MKDIR} ${PREFIX}/etc/cvsd
+ ${INSTALL_DATA} ${WRKSRC}/cvsd.conf-dist ${PREFIX}/etc/cvsd/cvsd.conf.sample
+.for file in ${MAN5}
+ ${INSTALL_MAN} ${WRKSRC}/${file} ${MANPREFIX}/man/man5/${file}
+.endfor
+.for file in ${MAN8}
+ ${INSTALL_MAN} ${WRKSRC}/${file} ${MANPREFIX}/man/man8/${file}
+.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff --git a/devel/cvsd/distinfo b/devel/cvsd/distinfo
index 77132ef0bbca..31201e2e2eaa 100644
--- a/devel/cvsd/distinfo
+++ b/devel/cvsd/distinfo
@@ -1 +1 @@
-MD5 (cvsd-0.9.18.tar.gz) = 4e0fadc7c4d87304ae9359d05bd40326
+MD5 (cvsd-0.9.19.tar.gz) = 2757c59517e59771bd9d249aea760b41
diff --git a/devel/cvsd/pkg-plist b/devel/cvsd/pkg-plist
index 1366ea10f581..c2541c63ff0f 100644
--- a/devel/cvsd/pkg-plist
+++ b/devel/cvsd/pkg-plist
@@ -1,4 +1,4 @@
-etc/cvsd/cvsd.conf
+etc/cvsd/cvsd.conf.sample
etc/rc.d/cvsd.sh.sample
sbin/cvsd
sbin/cvsd-buildroot