aboutsummaryrefslogtreecommitdiff
path: root/devel/cvsd
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 00:41:11 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 00:41:11 +0000
commitec7c5b0142aeb3539337db2d501d7b5ecf5e7284 (patch)
tree8468e5b0da1375397af63a69b7076d0b05b24887 /devel/cvsd
parente74f1f2ba2a728af887a83b377b13746054b76e5 (diff)
downloadports-ec7c5b0142aeb3539337db2d501d7b5ecf5e7284.tar.gz
ports-ec7c5b0142aeb3539337db2d501d7b5ecf5e7284.zip
Remove always-false/true conditions based on OSVERSION 500000
Notes
Notes: svn path=/head/; revision=200770
Diffstat (limited to 'devel/cvsd')
-rw-r--r--devel/cvsd/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/devel/cvsd/Makefile b/devel/cvsd/Makefile
index 409e1dd821f6..f22bf90e7ffc 100644
--- a/devel/cvsd/Makefile
+++ b/devel/cvsd/Makefile
@@ -15,6 +15,8 @@ MASTER_SITES= http://ch.tudelft.nl/~arthur/cvsd/
MAINTAINER= bu7cher@yandex.ru
COMMENT= CVS pserver daemon
+EXTRA_PATCHES= ${FILESDIR}/extra-cvsd-buildroot.in
+
USE_PERL5= yes
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
@@ -32,16 +34,10 @@ PLIST_FILES= etc/cvsd/cvsd.conf.sample sbin/cvsd sbin/cvsd-buginfo \
PLIST_DIRS= etc/cvsd
USE_RC_SUBR= cvsd
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 500000
-EXTRA_PATCHES+= ${FILESDIR}/extra-cvsd-buildroot.in
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cvsd ${PREFIX}/sbin/cvsd
-.for FILE in cvsd-buginfo cvsd-buildroot cvsd-passwd
- ${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${PREFIX}/sbin
+.for f in cvsd-buginfo cvsd-buildroot cvsd-passwd
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/sbin
.endfor
@${MKDIR} ${PREFIX}/etc/cvsd
${INSTALL_DATA} ${WRKSRC}/cvsd.conf-dist ${PREFIX}/etc/cvsd/cvsd.conf.sample
@@ -57,4 +53,4 @@ do-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>