1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/net/siproxd/Makefile
Beech Rintoul fc5c863585 - Update to 0.7.0
- Use SF macro

PR:		ports/120260
Submitted by:	Frank W. Josellis <frank@dynamical-systems.org> (maintainer)
2008-02-05 23:56:59 +00:00

49 lines
1.2 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.0
CATEGORIES= net
MASTER_SITES= SF
MAINTAINER= frank@dynamical-systems.org
COMMENT= A proxy/masquerading daemon for the SIP protocol
LIB_DEPENDS= osip2.4:${PORTSDIR}/net/libosip
USE_GCC= 3.2+
USE_RC_SUBR= siproxd.sh
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --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}
PLIST_FILES= etc/siproxd.conf.example etc/siproxd_passwd.cfg sbin/siproxd
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} >= 500041
@${REINPLACE_CMD} -e 's,-lgnugetopt,,g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS1}
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.for i in ${PORTDOCS2}
${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
.endif
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>