Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.15 2016/04/21 19:44:17 naddy Exp $
  2. COMMENT= proxy/masquerading daemon for the SIP protocol
  3. DISTNAME= siproxd-0.8.2
  4. CATEGORIES= telephony net
  5. HOMEPAGE= http://siproxd.sourceforge.net/
  6. MAINTAINER= Lawrence Teo <lteo@openbsd.org>
  7. # GPLv2+
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB= c osip2 osipparser2 pthread ltdl
  10. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
  11. USE_LIBTOOL= gnu
  12. LIBTOOL_FLAGS= --tag=disable-static
  13. CONFIGURE_STYLE=gnu
  14. CONFIGURE_ENV+= LDFLAGS="-L${PREFIX}/lib"
  15. LIB_DEPENDS= telephony/libosip2 \
  16. devel/libtool,-ltdl
  17. DOCDIR= ${PREFIX}/share/doc/siproxd
  18. EXDIR= ${PREFIX}/share/examples/siproxd
  19. SUBST_VARS= PREFIX
  20. pre-build:
  21. ${SUBST_CMD} ${WRKSRC}/doc/siproxd.conf.example
  22. post-install:
  23. ${INSTALL_DATA_DIR} ${DOCDIR}
  24. ${INSTALL_DATA} ${WRKDIST}/doc/FAQ ${DOCDIR}
  25. ${INSTALL_DATA} ${WRKDIST}/doc/KNOWN_BUGS ${DOCDIR}
  26. ${INSTALL_DATA_DIR} ${EXDIR}
  27. ${INSTALL_DATA} ${WRKDIST}/doc/siproxd.conf.example ${EXDIR}
  28. ${INSTALL_DATA} ${WRKDIST}/doc/siproxd_passwd.cfg ${EXDIR}
  29. rm ${PREFIX}/lib/siproxd/plugin_*.la
  30. .include <bsd.port.mk>