aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/neon/Makefile8
-rw-r--r--www/neon26/Makefile8
-rw-r--r--www/neon28/Makefile8
-rw-r--r--www/neon29/Makefile8
4 files changed, 28 insertions, 4 deletions
diff --git a/www/neon/Makefile b/www/neon/Makefile
index e3d66152f413..7befc3494736 100644
--- a/www/neon/Makefile
+++ b/www/neon/Makefile
@@ -25,8 +25,14 @@ CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} \
--with-libxml1
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-.ifndef NOPORTDOCS
+MAN1= neon-config.1
+MAN3= ne_close_connection.3 ne_session_create.3 \
+ ne_session_decide_proxy.3 ne_session_destroy.3 ne_session_proxy.3
+
post-install:
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.3 ${PREFIX}/man/man3
+.ifndef NOPORTDOCS
${MKDIR} ${PREFIX}/share/doc/neon
${INSTALL_DATA} ${WRKSRC}/doc/using-neon.txt ${PREFIX}/share/doc/neon
.endif
diff --git a/www/neon26/Makefile b/www/neon26/Makefile
index e3d66152f413..7befc3494736 100644
--- a/www/neon26/Makefile
+++ b/www/neon26/Makefile
@@ -25,8 +25,14 @@ CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} \
--with-libxml1
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-.ifndef NOPORTDOCS
+MAN1= neon-config.1
+MAN3= ne_close_connection.3 ne_session_create.3 \
+ ne_session_decide_proxy.3 ne_session_destroy.3 ne_session_proxy.3
+
post-install:
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.3 ${PREFIX}/man/man3
+.ifndef NOPORTDOCS
${MKDIR} ${PREFIX}/share/doc/neon
${INSTALL_DATA} ${WRKSRC}/doc/using-neon.txt ${PREFIX}/share/doc/neon
.endif
diff --git a/www/neon28/Makefile b/www/neon28/Makefile
index e3d66152f413..7befc3494736 100644
--- a/www/neon28/Makefile
+++ b/www/neon28/Makefile
@@ -25,8 +25,14 @@ CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} \
--with-libxml1
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-.ifndef NOPORTDOCS
+MAN1= neon-config.1
+MAN3= ne_close_connection.3 ne_session_create.3 \
+ ne_session_decide_proxy.3 ne_session_destroy.3 ne_session_proxy.3
+
post-install:
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.3 ${PREFIX}/man/man3
+.ifndef NOPORTDOCS
${MKDIR} ${PREFIX}/share/doc/neon
${INSTALL_DATA} ${WRKSRC}/doc/using-neon.txt ${PREFIX}/share/doc/neon
.endif
diff --git a/www/neon29/Makefile b/www/neon29/Makefile
index e3d66152f413..7befc3494736 100644
--- a/www/neon29/Makefile
+++ b/www/neon29/Makefile
@@ -25,8 +25,14 @@ CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} \
--with-libxml1
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-.ifndef NOPORTDOCS
+MAN1= neon-config.1
+MAN3= ne_close_connection.3 ne_session_create.3 \
+ ne_session_decide_proxy.3 ne_session_destroy.3 ne_session_proxy.3
+
post-install:
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.3 ${PREFIX}/man/man3
+.ifndef NOPORTDOCS
${MKDIR} ${PREFIX}/share/doc/neon
${INSTALL_DATA} ${WRKSRC}/doc/using-neon.txt ${PREFIX}/share/doc/neon
.endif