svn commit: r316746 - head/net/cvsync

Hiroki Sato hrs at FreeBSD.org
Sun Apr 28 20:45:44 UTC 2013


Author: hrs
Date: Sun Apr 28 20:45:43 2013
New Revision: 316746
URL: http://svnweb.freebsd.org/changeset/ports/316746

Log:
  - Add LICENSE.
  - Use OPTIONS_DEFINE.
  - Trim old-style header.
  - Single space after WWW:.

Modified:
  head/net/cvsync/Makefile
  head/net/cvsync/pkg-descr

Modified: head/net/cvsync/Makefile
==============================================================================
--- head/net/cvsync/Makefile	Sun Apr 28 20:10:33 2013	(r316745)
+++ head/net/cvsync/Makefile	Sun Apr 28 20:45:43 2013	(r316746)
@@ -1,13 +1,8 @@
-# Ports collection makefile for:  cvsync
-# Date created:			  Thu Mar 6, 2003
-# Whom:				  Hiroki Sato <hrs at 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/c
 MAINTAINER=	hrs at 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

Modified: head/net/cvsync/pkg-descr
==============================================================================
--- head/net/cvsync/pkg-descr	Sun Apr 28 20:10:33 2013	(r316745)
+++ head/net/cvsync/pkg-descr	Sun Apr 28 20:45:43 2013	(r316746)
@@ -3,4 +3,4 @@ written in C and POSIX pthread library, 
 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/


More information about the svn-ports-head mailing list