summaryrefslogtreecommitdiffstats
path: root/net/asterisk12/Makefile
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-14 13:23:49 +0000
committervs <vs@FreeBSD.org>2005-04-14 13:23:49 +0000
commit3e6000f57879f3baa7770b5b5f05a61d5df7ab30 (patch)
tree332dc6fed9f3580a03636b60978f98987b661ee7 /net/asterisk12/Makefile
parentcfbe8b3e75a0c0c0b7255af42d870e0c3df8fd1b (diff)
downloadFreeBSD-ports-3e6000f57879f3baa7770b5b5f05a61d5df7ab30.zip
FreeBSD-ports-3e6000f57879f3baa7770b5b5f05a61d5df7ab30.tar.gz
Handle rc.subr correctly
Based on PR: ports/79246 Submitted by: Ari Maniatis Approved by: maintainer
Diffstat (limited to 'net/asterisk12/Makefile')
-rw-r--r--net/asterisk12/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/asterisk12/Makefile b/net/asterisk12/Makefile
index ce7f824..5802757 100644
--- a/net/asterisk12/Makefile
+++ b/net/asterisk12/Makefile
@@ -31,7 +31,7 @@ GNU_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/editline
USE_GMAKE= yes
USE_BISON= yes
-USE_RC_SUBR= yes
+USE_RC_SUBR= asterisk.sh
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
MKDIR="${MKDIR}" \
@@ -69,6 +69,6 @@ PLIST_SUB+= WITH_ZAPTEL=""
.endif
post-install:
- @${INSTALL_SCRIPT} ${FILESDIR}/asterisk.sh ${PREFIX}/etc/rc.d
+ @${INSTALL_SCRIPT} ${WRKDIR}/asterisk.sh ${PREFIX}/etc/rc.d
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud