2004-10-15 15:47:27 +00:00
|
|
|
# New ports collection makefile for: siproxd
|
|
|
|
# Date created: 10 October 2004
|
|
|
|
# Whom: Frank W. Josellis <frank@dynamical-systems.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= siproxd
|
2006-06-23 09:18:56 +00:00
|
|
|
PORTVERSION= 0.5.13
|
2004-10-15 15:47:27 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= siproxd
|
|
|
|
|
|
|
|
MAINTAINER= frank@dynamical-systems.org
|
|
|
|
COMMENT= A proxy/masquerading daemon for the SIP protocol
|
|
|
|
|
2005-04-04 21:41:11 +00:00
|
|
|
LIB_DEPENDS= osip2.3:${PORTSDIR}/net/libosip2
|
2004-10-15 15:47:27 +00:00
|
|
|
|
2006-06-23 09:18:56 +00:00
|
|
|
USE_GCC= 3.2+
|
2004-10-15 15:47:27 +00:00
|
|
|
USE_GETOPT_LONG=yes
|
2006-05-18 06:15:39 +00:00
|
|
|
USE_RC_SUBR= siproxd.sh
|
2004-11-12 00:36:15 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-10-20 16:54:48 +00:00
|
|
|
CONFIGURE_TARGET= --with-libosip-prefix=${PREFIX}
|
2004-10-15 15:47:27 +00:00
|
|
|
|
2004-11-12 00:36:15 +00:00
|
|
|
PORTDOCS1= AUTHORS ChangeLog README RELNOTES
|
|
|
|
PORTDOCS2= FAQ KNOWN_BUGS RFC3261_compliance.txt \
|
|
|
|
sample_cfg_budgetone.txt sample_cfg_x-lite.txt
|
|
|
|
PORTDOCS= ${PORTDOCS1} ${PORTDOCS2}
|
2006-05-18 06:15:39 +00:00
|
|
|
PLIST_FILES= etc/siproxd.conf.example etc/siproxd_passwd.cfg sbin/siproxd
|
2004-10-15 15:47:27 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-11-12 00:36:15 +00:00
|
|
|
post-patch:
|
2004-10-15 15:47:27 +00:00
|
|
|
.if ${OSVERSION} >= 500041
|
2004-11-12 00:36:15 +00:00
|
|
|
@${REINPLACE_CMD} -e 's,-lgnugetopt,,g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
2004-10-15 15:47:27 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2004-11-12 00:36:15 +00:00
|
|
|
.for i in ${PORTDOCS1}
|
2004-10-15 15:47:27 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
2004-11-12 00:36:15 +00:00
|
|
|
.for i in ${PORTDOCS2}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
2004-10-15 15:47:27 +00:00
|
|
|
.endif
|
|
|
|
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|