From 2a91676174b64fe9635cc10e89092446dddf1224 Mon Sep 17 00:00:00 2001 From: hrs Date: Sun, 28 Apr 2013 20:45:43 +0000 Subject: - Add LICENSE. - Use OPTIONS_DEFINE. - Trim old-style header. - Single space after WWW:. --- net/cvsync/Makefile | 20 +++++++++++--------- net/cvsync/pkg-descr | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) (limited to 'net') 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 -# # $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 + 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 -WWW: http://www.cvsync.org/ +WWW: http://www.cvsync.org/ -- cgit