summaryrefslogtreecommitdiffstats
path: root/net/asterisk14/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2004-12-29 00:01:54 +0000
committersobomax <sobomax@FreeBSD.org>2004-12-29 00:01:54 +0000
commit8ccd39fdbf8f3d136ffd7295f390e5a915d909a5 (patch)
tree3ebefc2fb8b43ef01a2125141b3fcd9d4d2ba74e /net/asterisk14/Makefile
parent255ebf4e7626ddf13df60a44f13a987b364ade65 (diff)
downloadFreeBSD-ports-8ccd39fdbf8f3d136ffd7295f390e5a915d909a5.zip
FreeBSD-ports-8ccd39fdbf8f3d136ffd7295f390e5a915d909a5.tar.gz
o Provide rc.d script;
o Fix build on 5.2.1. Submitted by: Marat N.Afanasyev <amarat@ksu.ru>
Diffstat (limited to 'net/asterisk14/Makefile')
-rw-r--r--net/asterisk14/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/asterisk14/Makefile b/net/asterisk14/Makefile
index f82e980..97b6dce 100644
--- a/net/asterisk14/Makefile
+++ b/net/asterisk14/Makefile
@@ -7,6 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -24,6 +25,7 @@ GNU_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/editline
USE_GMAKE= yes
USE_BISON= yes
+USE_RC_SUBR= yes
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
MKDIR="${MKDIR}" \
@@ -59,4 +61,7 @@ RUN_DEPENDS+= ${LOCALBASE}/include/zaptel.h:${PORTSDIR}/misc/zaptel
PLIST_SUB+= WITH_ZAPTEL=""
.endif
+post-install:
+ @${INSTALL_SCRIPT} ${FILESDIR}/asterisk.sh ${PREFIX}/etc/rc.d
+
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud