aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/freetds/Makefile12
-rw-r--r--databases/freetds/pkg-plist5
2 files changed, 9 insertions, 8 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index 1e88fcd1e111..012e6ae09d41 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -25,8 +25,6 @@ USE_LDCONFIG= yes
PORTDOCS= *
-MAN1= datacopy.1 freebcp.1 tsql.1 bsqldb.1 defncopy.1
-
OPTIONS_DEFINE= OPENSSL GNUTLS MSDBLIB DOCS
OPTIONS_RADIO= ODBC
OPTIONS_RADIO_ODBC= IODBC UNIXODBC
@@ -81,12 +79,10 @@ post-patch:
s| common.h||g'
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} images ${DOCSDIR}
- @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} doc ${DOCSDIR}
-.endif
- @${MKDIR} ${PREFIX}/etc/freetds
- @${INSTALL_DATA} ${WRKSRC}/interfaces ${PREFIX}/etc/freetds/interfaces.dist
+ @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} images ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/freetds
+ @${INSTALL_DATA} ${WRKSRC}/interfaces ${STAGEDIR}${PREFIX}/etc/freetds/interfaces.dist
@${ECHO_CMD} "Sample configuration files have been installed in ${PREFIX}/etc"
@${ECHO_CMD} "You should edit them and remove the .dist-suffix from their names"
diff --git a/databases/freetds/pkg-plist b/databases/freetds/pkg-plist
index b885646e4c95..7bbf370b3202 100644
--- a/databases/freetds/pkg-plist
+++ b/databases/freetds/pkg-plist
@@ -38,6 +38,11 @@ lib/libtdssrv.a
lib/libtdssrv.la
lib/libtdssrv.so
lib/libtdssrv.so.2
+man/man1/bsqldb.1.gz
+man/man1/datacopy.1.gz
+man/man1/defncopy.1.gz
+man/man1/freebcp.1.gz
+man/man1/tsql.1.gz
%%ODBC%%lib/libtdsodbc.so
%%ODBC%%lib/libtdsodbc.so.0
%%ODBC%%lib/libtdsodbc.la