mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
59 lines
1.4 KiB
Makefile
59 lines
1.4 KiB
Makefile
# New ports collection makefile for: asterisk-gui
|
|
# Date created: 31 Dec 2006
|
|
# Whom: pneumann@gmail.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= asterisk-gui
|
|
PORTVERSION= 0.0.1r20070801
|
|
PORTREVISION= 3
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
DISTNAME= ${PORTNAME}-snap-2007-08-01
|
|
|
|
MAINTAINER= pneumann@gmail.com
|
|
COMMENT= An asterisk ajax web manager
|
|
|
|
RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
|
|
|
|
PROJECTHOST= asterisk-bsd
|
|
USE_AUTOTOOLS= autoconf:261 automake:19
|
|
USE_GMAKE= yes
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS= SIP_QUEUES "In queues register users as SIP, not Agents" off \
|
|
SAMPLE_CONFIG "Install sample configuration files" off
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
|
${WRKSRC}/config/backup.html \
|
|
${WRKSRC}/config/syslog.html \
|
|
${WRKSRC}/config/scripts/astman.js \
|
|
${WRKSRC}/tools/zapscan.c \
|
|
${WRKSRC}/tools/zapscan \
|
|
${WRKSRC}/scripts/gui_sysinfo \
|
|
${WRKSRC}/scripts/listfiles
|
|
@${FIND} ${WRKSRC} -name "*.orig" -o -name "*.bak" | ${XARGS} ${RM}
|
|
|
|
run-autotools:
|
|
@(cd ${WRKSRC} && ./bootstrap.sh)
|
|
|
|
checkconfig:
|
|
@cd ${WRKSRC} && ${GMAKE} checkconfig
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_SIP_QUEUES)
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-config-queues.html
|
|
.endif
|
|
|
|
post-install:
|
|
.if defined(WITH_SAMPLE_CONFIG)
|
|
@cd ${WRKSRC} && ${GMAKE} samples
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|