1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

47 lines
1.1 KiB
Makefile
Raw Normal View History

2001-12-31 05:33:17 +00:00
# ex:ts=8
# Ports collection makefile for: cvsd
# Date Created: Dec 31, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= cvsd
2003-02-17 15:32:57 +00:00
PORTVERSION= 0.9.17
2001-12-31 05:33:17 +00:00
CATEGORIES= devel
MASTER_SITES= http://tiefighter.et.tudelft.nl/~arthur/cvsd/
MAINTAINER= ports@FreeBSD.org
2003-02-20 17:07:10 +00:00
COMMENT= cvs pserver daemon
2001-12-31 05:33:17 +00:00
USE_PERL5= yes
2002-06-25 05:52:56 +00:00
USE_REINPLACE= yes
2001-12-31 05:33:17 +00:00
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}"
2001-12-31 05:33:17 +00:00
MAN5= cvsd.conf.5
MAN8= cvsd.8 cvsd-buildroot.8 cvsd-passwd.8
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
.endif
2001-12-31 05:33:17 +00:00
post-patch:
@${REINPLACE_CMD} -e 's|init.d/cvsd|rc.d/cvsd.sh.sample|g ; \
s|init.d|rc.d|g' ${WRKSRC}/Makefile.in
2001-12-31 05:33:17 +00:00
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>