diff options
author | miwi <miwi@FreeBSD.org> | 2007-02-12 08:17:12 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-02-12 08:17:12 +0800 |
commit | 06f4a7ff2520ff9bf4742b6a157501544b025df4 (patch) | |
tree | 602fab33827390198f168c82c2c8a81a96e08897 | |
parent | 4dc0d1eeba25bb2acf6dae5b1f898a221b0505e7 (diff) | |
download | freebsd-ports-gnome-06f4a7ff2520ff9bf4742b6a157501544b025df4.tar.gz freebsd-ports-gnome-06f4a7ff2520ff9bf4742b6a157501544b025df4.tar.zst freebsd-ports-gnome-06f4a7ff2520ff9bf4742b6a157501544b025df4.zip |
- Fix plist if NOPORTDOCS is defined
- Bump PORTREVISION
Submitted by: Mike Durian <durian@shadetreesoftware.com> (maintainer)
-rw-r--r-- | net/sipxcommserverlib/Makefile | 9 | ||||
-rw-r--r-- | net/sipxcommserverlib/pkg-plist | 2 |
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 |