freebsd-ports/devel/cvsd/Makefile
Peter Pentchev a84636f067 Fix the problems in my last commit to make cvsd actually build:
- actually add files/patch-cvsd.c, which *was* in the PR;
- add files/patch-configure, which was mentioned but missing from the PR;
- remove autoconf/make/etc invocation from the Makefile so our changes
  to the configure script are not lost.

Pointed out by:	kris, Ports Fury
Pointy hat to:	roam (myself)
2002-09-21 17:58:40 +00:00

40 lines
913 B
Makefile

# ex:ts=8
# Ports collection makefile for: cvsd
# Date Created: Dec 31, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= cvsd
PORTVERSION= 0.9.12
CATEGORIES= devel
MASTER_SITES= http://tiefighter.et.tudelft.nl/~arthur/cvsd/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
MAN5= cvsd.conf.5
MAN8= cvsd.8 cvsd-buildroot.8 cvsd-passwd.8
post-patch:
@${REINPLACE_CMD} -E -e 's|init.d/cvsd|rc.d/cvsd.sh.sample|g ; \
s|init.d|rc.d|g ; \
s,@(ACLOCAL|AUTO(CONF|MAKE|HEADER))@,/usr/bin/true,' \
${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>