aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2010-07-26 21:03:19 +0800
committerlinimon <linimon@FreeBSD.org>2010-07-26 21:03:19 +0800
commitd9d9ee9a0ecef022989ec82b5b07b7ea587feb0c (patch)
tree27cd7aafa70acf873fd402ad4cebeed48ed3ee0e /net
parentdd29be8bf20e9b138bbb0321e7a8cb48aa3f1846 (diff)
downloadfreebsd-ports-gnome-d9d9ee9a0ecef022989ec82b5b07b7ea587feb0c.tar.gz
freebsd-ports-gnome-d9d9ee9a0ecef022989ec82b5b07b7ea587feb0c.tar.zst
freebsd-ports-gnome-d9d9ee9a0ecef022989ec82b5b07b7ea587feb0c.zip
Attempt to fix handling of this Makefile on portsmon.
While here, fix an obvious typo in post-install messages. Hat: portmgr
Diffstat (limited to 'net')
-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>