- Add LICENSE.

- Use OPTIONS_DEFINE.
- Trim old-style header.
- Single space after WWW:.
This commit is contained in:
Hiroki Sato 2013-04-28 20:45:43 +00:00
parent 8cf9b19788
commit c5e7f2b15c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316746
2 changed files with 12 additions and 10 deletions

View file

@ -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

View file

@ -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/