123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # $OpenBSD: Makefile,v 1.15 2016/04/21 19:44:17 naddy Exp $
- COMMENT= proxy/masquerading daemon for the SIP protocol
- DISTNAME= siproxd-0.8.2
- CATEGORIES= telephony net
- HOMEPAGE= http://siproxd.sourceforge.net/
- MAINTAINER= Lawrence Teo <lteo@openbsd.org>
- # GPLv2+
- PERMIT_PACKAGE_CDROM= Yes
- WANTLIB= c osip2 osipparser2 pthread ltdl
- MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
- USE_LIBTOOL= gnu
- LIBTOOL_FLAGS= --tag=disable-static
- 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_*.la
- .include <bsd.port.mk>
|