mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
5d29aef0af
PR: ports/98692 Submitted by: Andrey V. Elsukov <bu7cher@yandex.ru> [maintainer]
62 lines
1.5 KiB
Makefile
62 lines
1.5 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: cvsd
|
|
# Date Created: Dec 31, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cvsd
|
|
PORTVERSION= 1.0.12
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://ch.tudelft.nl/~arthur/cvsd/
|
|
|
|
MAINTAINER= bu7cher@yandex.ru
|
|
COMMENT= CVS pserver daemon
|
|
|
|
USE_GPG?= yes
|
|
USE_PERL5= yes
|
|
USE_GETOPT_LONG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --with-libwrap
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
AUTOHEADER="${TRUE}"
|
|
|
|
MAN5= cvsd.conf.5
|
|
MAN8= cvsd.8 cvsd-buginfo.8 cvsd-buildroot.8 cvsd-passwd.8
|
|
PORTDOCS= README
|
|
PLIST_FILES= etc/cvsd/cvsd.conf.sample sbin/cvsd sbin/cvsd-buginfo \
|
|
sbin/cvsd-buildroot sbin/cvsd-passwd
|
|
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
|
|
.endfor
|
|
@${MKDIR} ${PREFIX}/etc/cvsd
|
|
${INSTALL_DATA} ${WRKSRC}/cvsd.conf-dist ${PREFIX}/etc/cvsd/cvsd.conf.sample
|
|
.for FILE in ${MAN5}
|
|
${INSTALL_MAN} ${WRKSRC}/${FILE} ${MAN5PREFIX}/man/man5
|
|
.endfor
|
|
.for FILE in ${MAN8}
|
|
${INSTALL_MAN} ${WRKSRC}/${FILE} ${MAN8PREFIX}/man/man8
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|