aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/sipxcommserverlib/Makefile9
-rw-r--r--net/sipxcommserverlib/pkg-plist2
2 files changed, 11 insertions, 0 deletions
diff --git a/net/sipxcommserverlib/Makefile b/net/sipxcommserverlib/Makefile
index bfec298b9206..9d14e4c5a99b 100644
--- a/net/sipxcommserverlib/Makefile
+++ b/net/sipxcommserverlib/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sipxcommserverlib
PORTVERSION= 3.6.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/
@@ -47,4 +48,12 @@ post-patch:
@${REINPLACE_CMD} -e "s,@PREFIX@,${PREFIX}," ${WRKSRC}/bin/pgpatch.sh
@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/src/sipdbtest/sipdbtest.sh.in
+post-install:
+.if !defined(NOPORTDOCS)
+ ${SED} -e "s,@bindir@,${PREFIX}/bin,g" < ${WRKSRC}/doc/INSTALL.ssl.in \
+ > ${WRKSRC}/doc/INSTALL.ssl
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/doc/INSTALL.ssl ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/net/sipxcommserverlib/pkg-plist b/net/sipxcommserverlib/pkg-plist
index f5b2395e1072..de4e50f0204e 100644
--- a/net/sipxcommserverlib/pkg-plist
+++ b/net/sipxcommserverlib/pkg-plist
@@ -86,6 +86,8 @@ lib/libsipXcommserver.so.1
lib/libsipXcommserverTest.a
lib/libsipXcommserverTest.la
libexec/sipx-utils.sh
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL.ssl
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
share/sipx/schema/authrules.xsd
share/sipx/schema/urlmap.xsd
@dirrm share/sipxpbx