aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/cvsync/Makefile20
-rw-r--r--net/cvsync/pkg-descr2
2 files changed, 12 insertions, 10 deletions
diff --git a/net/cvsync/Makefile b/net/cvsync/Makefile
index a7fafee1aec0..835ef05a94d8 100644
--- a/net/cvsync/Makefile
+++ b/net/cvsync/Makefile
@@ -1,13 +1,8 @@
-# Ports collection makefile for: cvsync
-# Date created: Thu Mar 6, 2003
-# Whom: Hiroki Sato <hrs@FreeBSD.org>
-#
# $FreeBSD$
-#
PORTNAME= cvsync
PORTVERSION= 0.24.19
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.cvsync.org/pub/cvsync/ \
ftp://ftp.allbsd.org/pub/cvsync/
@@ -15,25 +10,32 @@ MASTER_SITES= ftp://ftp.cvsync.org/pub/cvsync/ \
MAINTAINER= hrs@FreeBSD.org
COMMENT= A portable CVS repository synchronization utility
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/doc/COPYRIGHT
+
USE_GMAKE= yes
USE_RC_SUBR= cvsyncd
USE_OPENSSL= yes
MAN1= cvscan.1 cvsup2cvsync.1 cvsync.1 cvsync2cvsup.1 cvsyncd.1 \
rcscan.1 rcscmp.1
-PORTDOCS= COPYRIGHT ChangeLog FAQ TODO
+PORTDOCS= ChangeLog FAQ TODO
PORTEXAMPLES= cvsync.conf cvsyncd-FreeBSD.conf \
cvsyncd-NetBSD.conf cvsyncd-OpenBSD.conf
MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKE_FLAGS= OSVER="${OSVERSION}" HASH_TYPE=openssl
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/samples && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
diff --git a/net/cvsync/pkg-descr b/net/cvsync/pkg-descr
index 7d528fbda611..08399cffaa66 100644
--- a/net/cvsync/pkg-descr
+++ b/net/cvsync/pkg-descr
@@ -3,4 +3,4 @@ written in C and POSIX pthread library, released under BSD license.
It is very similar to CVSup but not compatible with it.
Author: MAEKAWA Masahide <maekawa at cvsync dot org>
-WWW: http://www.cvsync.org/
+WWW: http://www.cvsync.org/