aboutsummaryrefslogtreecommitdiff
path: root/net/freeswitch-core/Makefile
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2010-07-26 13:03:19 +0000
committerMark Linimon <linimon@FreeBSD.org>2010-07-26 13:03:19 +0000
commitc7989c12e06cd24c9727557dea0706137dba76c1 (patch)
treee3ee4f50e00362088044b1f1ddc94e616459c12c /net/freeswitch-core/Makefile
parentcd32ba84b929b9e6d135a434e33f464ce51f047f (diff)
Notes
Diffstat (limited to 'net/freeswitch-core/Makefile')
-rw-r--r--net/freeswitch-core/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/net/freeswitch-core/Makefile b/net/freeswitch-core/Makefile
index a05a176a2b8a..b0fd76d572c5 100644
--- a/net/freeswitch-core/Makefile
+++ b/net/freeswitch-core/Makefile
@@ -64,10 +64,6 @@ CONFIGURE_ENV+= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
USE_LDCONFIG= yes
CPPFLAGS+= -I${PREFIX}/include
-.if ${OSVERSION} < 700000
-IGNORE= freeswitch is only supported on FreeBSD 7 or newer
-.endif
-
FREESWITCH_USER= freeswitch
FREESWITCH_GROUP= ${FREESWITCH_USER}
@@ -275,6 +271,12 @@ post-install:
@${ECHO_MSG} "This port chown -R various directories ${FREESWITCH_USER}:${FREESWITCH_GROUP} "
@${ECHO_MSG} "this is for port security . in the event something should stop working."
@${ECHO_MSG} "Please take the time to check chownership of the dir's"
- @${ECHO_MSG} "${VARBASE}/db/${PORTNAME} ${VARBASE}/log/${PORTNAME} ${VARBAE}/${PORTNAME} ${PREFIX}/etc/${PORTNAME}"
+ @${ECHO_MSG} "${VARBASE}/db/${PORTNAME} ${VARBASE}/log/${PORTNAME} ${VARBASE}/${PORTNAME} ${PREFIX}/etc/${PORTNAME}"
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+IGNORE= freeswitch is only supported on FreeBSD 7 or newer
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>