blob: afd0e11d87efe8e9dd352d182869b0e431e38292 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: asterisk-gui
# Date created: 31 Dec 2006
# Whom: pneumann@gmail.com
#
# $FreeBSD$
#
PORTNAME= asterisk-gui
PORTVERSION= 2.0.4
PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk-gui/releases/
MAINTAINER= pneumann@gmail.com
COMMENT= An asterisk ajax web manager
RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk14 \
wget:${PORTSDIR}/ftp/wget
PROJECTHOST= asterisk-bsd
USE_AUTOTOOLS= autoconf automake
USE_GMAKE= yes
SUB_FILES= pkg-message
post-patch:
@${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'
@${FIND} ${WRKSRC} -name "*.orig" -o -name "*.bak" | ${XARGS} ${RM}
run-autotools:
@(cd ${WRKSRC} && ./bootstrap.sh)
checkconfig:
@cd ${WRKSRC} && ${GMAKE} checkconfig
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|