1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

databases/mdbtools: Move man to share/man

While here, also move libmdbodbc and libmdbodbcW files from lib/odbc to
standard location for odbc libraries under lib.
This commit is contained in:
Rainer Hurling 2024-02-10 20:47:32 +01:00
parent fb31e504a6
commit d5808120fc
2 changed files with 25 additions and 19 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= mdbtools
DISTVERSION= 1.0.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
@ -22,6 +22,7 @@ CPE_VENDOR= mdbtools_project
USE_GNOME= glib20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
--with-unixodbc=${LOCALBASE}
@ -53,6 +54,11 @@ CPP= clang-cpp${LLVM_VER}
CXX= clang++${LLVM_VER}
.endif
post-configure:
@${REINPLACE_CMD} -e \
's|libdir = $${exec_prefix}/lib/odbc|libdir = $${exec_prefix}/lib|' \
${WRKSRC}/src/odbc/Makefile
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

View File

@ -17,30 +17,16 @@ lib/libmdb.a
lib/libmdb.so
lib/libmdb.so.3
lib/libmdb.so.3.1.0
lib/libmdbodbc.a
lib/libmdbodbc.so
lib/libmdbodbcW.a
lib/libmdbodbcW.so
lib/libmdbsql.a
lib/libmdbsql.so
lib/libmdbsql.so.3
lib/libmdbsql.so.3.1.0
lib/odbc/libmdbodbc.a
lib/odbc/libmdbodbc.so
lib/odbc/libmdbodbcW.a
lib/odbc/libmdbodbcW.so
libdata/pkgconfig/libmdb.pc
libdata/pkgconfig/libmdbsql.pc
%%MANPAGES%%man/man1/mdb-array.1.gz
%%MANPAGES%%man/man1/mdb-count.1.gz
%%MANPAGES%%man/man1/mdb-export.1.gz
%%MANPAGES%%man/man1/mdb-header.1.gz
%%MANPAGES%%man/man1/mdb-hexdump.1.gz
%%MANPAGES%%man/man1/mdb-import.1.gz
%%MANPAGES%%man/man1/mdb-json.1.gz
%%MANPAGES%%man/man1/mdb-parsecsv.1.gz
%%MANPAGES%%man/man1/mdb-prop.1.gz
%%MANPAGES%%man/man1/mdb-queries.1.gz
%%MANPAGES%%man/man1/mdb-schema.1.gz
%%MANPAGES%%man/man1/mdb-sql.1.gz
%%MANPAGES%%man/man1/mdb-tables.1.gz
%%MANPAGES%%man/man1/mdb-ver.1.gz
share/bash-completion/completions/mdb-count
share/bash-completion/completions/mdb-export
share/bash-completion/completions/mdb-hexdump
@ -57,3 +43,17 @@ share/bash-completion/completions/mdb-ver
%%PORTDOCS%%%%DOCSDIR%%/HACKING.md
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%MANPAGES%%share/man/man1/mdb-array.1.gz
%%MANPAGES%%share/man/man1/mdb-count.1.gz
%%MANPAGES%%share/man/man1/mdb-export.1.gz
%%MANPAGES%%share/man/man1/mdb-header.1.gz
%%MANPAGES%%share/man/man1/mdb-hexdump.1.gz
%%MANPAGES%%share/man/man1/mdb-import.1.gz
%%MANPAGES%%share/man/man1/mdb-json.1.gz
%%MANPAGES%%share/man/man1/mdb-parsecsv.1.gz
%%MANPAGES%%share/man/man1/mdb-prop.1.gz
%%MANPAGES%%share/man/man1/mdb-queries.1.gz
%%MANPAGES%%share/man/man1/mdb-schema.1.gz
%%MANPAGES%%share/man/man1/mdb-sql.1.gz
%%MANPAGES%%share/man/man1/mdb-tables.1.gz
%%MANPAGES%%share/man/man1/mdb-ver.1.gz