49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.10 2012/01/21 22:02:13 sthen Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
COMMENT= proxy/masquerading daemon for the SIP protocol
|
|
|
|
DISTNAME= siproxd-0.8.1
|
|
REVISION= 2
|
|
CATEGORIES= telephony net
|
|
|
|
HOMEPAGE= http://siproxd.sourceforge.net/
|
|
|
|
MAINTAINER= Lawrence Teo <lteo@lteo.net>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c osip2 osipparser2 pthread ltdl
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
|
|
|
|
USE_LIBTOOL= gnu
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV+= LDFLAGS="-L${PREFIX}/lib"
|
|
|
|
LIB_DEPENDS= telephony/libosip2 \
|
|
devel/libtool,-ltdl
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/siproxd
|
|
EXDIR= ${PREFIX}/share/examples/siproxd
|
|
SUBST_VARS= PREFIX
|
|
|
|
pre-build:
|
|
${SUBST_CMD} ${WRKSRC}/doc/siproxd.conf.example
|
|
|
|
post-install:
|
|
${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}
|
|
rm ${PREFIX}/lib/siproxd/plugin_*.a ${PREFIX}/lib/siproxd/plugin_*.la
|
|
|
|
.include <bsd.port.mk>
|