openbsd-ports/telephony/siproxd/Makefile
aanriot b417c98419 also install the main binary and the post-install target becomes a
do-install one (the logic is more simple and it gets ride of the bogus
element warnings).

"go ahead" msf@
2007-05-31 15:51:23 +00:00

41 lines
1007 B
Makefile

# $OpenBSD: Makefile,v 1.3 2007/05/31 15:51:23 aanriot Exp $
COMMENT= "proxy/masquerading daemon for the SIP protocol"
DISTNAME= siproxd-0.5.13
PKGNAME= ${DISTNAME}p0
CATEGORIES= telephony net
HOMEPAGE= http://siproxd.sourceforge.net/
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pthread
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
CONFIGURE_STYLE=gnu
LIB_DEPENDS= osip2,osipparser2::telephony/libosip2
DOCDIR= ${PREFIX}/share/doc/siproxd
EXDIR= ${PREFIX}/share/examples/siproxd
do-install:
${INSTALL_PROGRAM} ${WRKDIST}/src/siproxd ${PREFIX}/sbin
${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}
.include <bsd.port.mk>