2007-06-03 22:04:19 +02:00
|
|
|
# New ports collection makefile for: asterisk-gui
|
|
|
|
# Date created: 31 Dec 2006
|
|
|
|
# Whom: pneumann@gmail.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= asterisk-gui
|
2008-12-03 22:46:47 +01:00
|
|
|
PORTVERSION= 2.0.4
|
2009-02-08 04:14:14 +01:00
|
|
|
PORTREVISION= 2
|
2007-06-03 22:04:19 +02:00
|
|
|
CATEGORIES= www
|
2009-08-14 21:45:35 +02:00
|
|
|
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk-gui/releases/
|
2007-06-03 22:04:19 +02:00
|
|
|
|
|
|
|
MAINTAINER= pneumann@gmail.com
|
|
|
|
COMMENT= An asterisk ajax web manager
|
|
|
|
|
2008-10-30 01:33:25 +01:00
|
|
|
RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk \
|
|
|
|
wget:${PORTSDIR}/ftp/wget
|
2007-06-03 22:04:19 +02:00
|
|
|
|
2008-03-13 12:27:29 +01:00
|
|
|
PROJECTHOST= asterisk-bsd
|
2008-08-20 02:57:32 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:262 automake:19
|
2007-06-03 22:04:19 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
post-patch:
|
2008-10-30 01:33:25 +01:00
|
|
|
@${GREP} -Rl '/var/lib' ${WRKSRC} | \
|
|
|
|
${XARGS} ${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g'
|
|
|
|
@${GREP} -Rl '/etc' ${WRKSRC} | \
|
|
|
|
${XARGS} ${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g'
|
|
|
|
@${GREP} -Rl '/bin/grep' ${WRKSRC} | \
|
|
|
|
${XARGS} ${REINPLACE_CMD} -e 's|/bin/grep|grep|g'
|
|
|
|
@${GREP} -Rl 'bash' ${WRKSRC} | \
|
|
|
|
${XARGS} ${REINPLACE_CMD} -e 's|bash|sh|g'
|
|
|
|
|
2007-06-03 22:04:19 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "*.orig" -o -name "*.bak" | ${XARGS} ${RM}
|
|
|
|
|
|
|
|
run-autotools:
|
|
|
|
@(cd ${WRKSRC} && ./bootstrap.sh)
|
|
|
|
|
|
|
|
checkconfig:
|
|
|
|
@cd ${WRKSRC} && ${GMAKE} checkconfig
|
|
|
|
|
|
|
|
post-install:
|
2008-10-30 01:33:25 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2007-06-03 22:04:19 +02:00
|
|
|
|
2008-12-03 22:46:47 +01:00
|
|
|
.include <bsd.port.mk>
|