aboutsummaryrefslogblamecommitdiff
path: root/devel/cvsd/Makefile
blob: d63165a80c6f833c28ff8c12ae21208374ec8c57 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                            
                     


                                                             
                                 
                                  
 
                   
                           
                   




                                                                         



                                             













                                                                                    



                                                   
                             

                      
# ex:ts=8
# Ports collection makefile for:	cvsd
# Date Created:			Dec 31, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	cvsd
PORTVERSION=	1.0.0
CATEGORIES=	devel
MASTER_SITES=	http://tiefighter.et.tudelft.nl/~arthur/cvsd/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	CVS pserver daemon

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-buildroot.8 cvsd-passwd.8

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/cvsd ${PREFIX}/sbin/cvsd
.for file in cvsd-buildroot cvsd-passwd
	${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/sbin/${file}
.endfor
	${INSTALL_DATA} ${WRKSRC}/cvsd.init ${PREFIX}/etc/rc.d/cvsd.sh.sample
	@${MKDIR} ${PREFIX}/etc/cvsd
	${INSTALL_DATA} ${WRKSRC}/cvsd.conf-dist ${PREFIX}/etc/cvsd/cvsd.conf.sample
.for file in ${MAN5}
	${INSTALL_MAN} ${WRKSRC}/${file} ${MANPREFIX}/man/man5/${file}
.endfor
.for file in ${MAN8}
	${INSTALL_MAN} ${WRKSRC}/${file} ${MANPREFIX}/man/man8/${file}
.endfor
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>