2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2013/03/11 11:41:33 espie Exp $
|
2005-06-29 17:15:24 -04:00
|
|
|
|
2012-01-17 12:30:33 -05:00
|
|
|
SHARED_ONLY= Yes
|
2007-09-15 17:03:00 -04:00
|
|
|
COMMENT= proxy/masquerading daemon for the SIP protocol
|
2005-06-29 17:15:24 -04:00
|
|
|
|
2012-01-17 12:30:33 -05:00
|
|
|
DISTNAME= siproxd-0.8.1
|
2012-05-04 17:42:18 -04:00
|
|
|
REVISION= 3
|
2005-06-29 17:15:24 -04:00
|
|
|
CATEGORIES= telephony net
|
|
|
|
|
|
|
|
HOMEPAGE= http://siproxd.sourceforge.net/
|
|
|
|
|
2012-01-21 17:02:13 -05:00
|
|
|
MAINTAINER= Lawrence Teo <lteo@lteo.net>
|
2005-06-29 17:15:24 -04:00
|
|
|
|
2012-01-17 12:30:33 -05:00
|
|
|
# GPLv2+
|
2005-06-29 17:15:24 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2010-07-27 05:27:23 -04:00
|
|
|
|
2012-01-17 12:30:33 -05:00
|
|
|
WANTLIB= c osip2 osipparser2 pthread ltdl
|
2005-06-29 17:15:24 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
|
|
|
|
|
2012-01-17 12:30:33 -05:00
|
|
|
USE_LIBTOOL= gnu
|
|
|
|
|
2005-06-29 17:15:24 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2012-01-17 12:30:33 -05:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${PREFIX}/lib"
|
2005-06-29 17:15:24 -04:00
|
|
|
|
2012-01-17 12:30:33 -05:00
|
|
|
LIB_DEPENDS= telephony/libosip2 \
|
|
|
|
devel/libtool,-ltdl
|
2005-06-29 17:15:24 -04:00
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/siproxd
|
|
|
|
EXDIR= ${PREFIX}/share/examples/siproxd
|
2012-01-17 12:30:33 -05:00
|
|
|
SUBST_VARS= PREFIX
|
2005-06-29 17:15:24 -04:00
|
|
|
|
2012-01-17 12:30:33 -05:00
|
|
|
pre-build:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/doc/siproxd.conf.example
|
2007-05-31 11:51:23 -04:00
|
|
|
|
2012-01-17 12:30:33 -05:00
|
|
|
post-install:
|
2005-06-29 17:15:24 -04:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/doc/FAQ ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/doc/KNOWN_BUGS ${DOCDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${EXDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/doc/siproxd.conf.example ${EXDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/doc/siproxd_passwd.cfg ${EXDIR}
|
2012-01-17 12:30:33 -05:00
|
|
|
rm ${PREFIX}/lib/siproxd/plugin_*.a ${PREFIX}/lib/siproxd/plugin_*.la
|
2005-06-29 17:15:24 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|