Files
ajacoutot c4096e6659 Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:16:56 +00:00

51 lines
1.4 KiB
Makefile

COMMENT = proxy for Asterisk Manager Interface
# there is an active fork in davies147/astmanproxy, but it uses various
# linuxisms (pthread_timedjoin_np, prctl)
GH_ACCOUNT = davetroy
GH_PROJECT = astmanproxy
GH_COMMIT = f4b952a717b7e982b585bf0daa86398add394a88
DISTNAME = astmanproxy-1.22pre20081208
REVISION = 2
CATEGORIES = telephony
HOMEPAGE = http://www.voip-info.org/tiki-index.php?page=AstManProxy
MAINTAINER = Stuart Henderson <stu.ports@spacehopper.org>
# GPLv2
PERMIT_PACKAGE = Yes
WANTLIB = c crypto pthread ssl
MAKE_ENV = CFLAGS="${CFLAGS}"
MAKE_FLAGS = CC="${CC}" SYSCONFDIR=${SYSCONFDIR} \
LIBDIR=${WRKINST}/${PREFIX}/lib/astmanproxy \
MODDIR=${PREFIX}/lib/astmanproxy/modules \
CONFDIR=${SYSCONFDIR}/astmanproxy \
PERMDIR=${SYSCONFDIR}/astmanproxy
FAKE_FLAGS = PREFIX=${PREFIX} \
MODDIR=${WRKINST}${PREFIX}/lib/astmanproxy/modules \
CONFDIR_REAL=${WRKINST}/${PREFIX}/share/examples/astmanproxy \
PERMDIR_REAL=${WRKINST}/${PREFIX}/share/examples/astmanproxy
USE_GMAKE = Yes
NO_TEST = Yes
ALL_TARGET = astmanproxy
DEBUG_PACKAGES = ${BUILD_PACKAGES}
pre-configure:
${SUBST_CMD} ${WRKSRC}/configs/astmanproxy.conf
post-install:
${INSTALL_DATA} ${WRKSRC}/configs/ssl.conf \
${PREFIX}/share/examples/astmanproxy/proxy-ssl.conf
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/astmanproxy/
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/* \
${PREFIX}/share/doc/astmanproxy
.include <bsd.port.mk>