1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/siproxd/Makefile
Doug Barton 9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00

54 lines
1.4 KiB
Makefile

# New ports collection makefile for: siproxd
# Date created: 10 October 2004
# Whom: Frank W. Josellis <frank@dynamical-systems.org>
#
# $FreeBSD$
#
PORTNAME= siproxd
PORTVERSION= 0.7.2
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF
MAINTAINER= frank@dynamical-systems.org
COMMENT= A proxy/masquerading daemon for the SIP protocol
LIB_DEPENDS= osip2.9:${PORTSDIR}/net/libosip
USE_RC_SUBR= siproxd
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-doc --with-libosip-prefix=${PREFIX}
PORTDOCS1= AUTHORS ChangeLog README RELNOTES
PORTDOCS2= FAQ KNOWN_BUGS RFC3261_compliance.txt \
sample_cfg_budgetone.txt sample_cfg_x-lite.txt
PORTDOCS= ${PORTDOCS1} ${PORTDOCS2}
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's,-lgnugetopt,,g ; 24600d ; 23998s,doc/Makefile ,,g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/doc/siproxd.conf.example
${REINPLACE_CMD} -e '22s,doc ,,' ${WRKSRC}/Makefile.am
${REINPLACE_CMD} -e '212s,doc ,,' ${WRKSRC}/Makefile.in
post-extract:
.for docs in ${PORTDOCS2}
${CP} ${WRKSRC}/doc/${docs} ${WRKSRC}
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for docs in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif
${CP} ${WRKSRC}/doc/siproxd.conf.example ${PREFIX}/etc
${CP} ${WRKSRC}/doc/siproxd_passwd.cfg ${PREFIX}/etc
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>