git: d98c7edd3f47 - main - databases/sqlite3: Impelled to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jan 2024 14:51:44 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d98c7edd3f470dd3b6d633293ce5ed0635b0c28f commit d98c7edd3f470dd3b6d633293ce5ed0635b0c28f Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-23 14:21:35 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-23 14:51:24 +0000 databases/sqlite3: Impelled to share/man Approved by: portmgr (blanket) --- databases/sqlite3/Makefile | 7 +++++-- databases/sqlite3/pkg-plist | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index 6471fa5c6ae4..e44ea82acea3 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/Makefile @@ -1,5 +1,6 @@ PORTNAME= sqlite3 DISTVERSION= 3.45.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= databases MASTER_SITES= https://www.sqlite.org/${_YEAR}/ https://www2.sqlite.org/${_YEAR}/ https://www3.sqlite.org/${_YEAR}/ @@ -34,6 +35,7 @@ USES= libtool pathfix zip USE_LDCONFIG= yes GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share MAKE_JOBS_UNSAFE= yes ALL_TARGET+= sqldiff @@ -266,7 +268,7 @@ post-configure: post-install: .if !defined(TEA) - ${INSTALL_MAN} "${WRKSRC}/${PORTNAME}.1" "${STAGEDIR}${PREFIX}/man/man1" + ${INSTALL_MAN} "${WRKSRC}/${PORTNAME}.1" "${STAGEDIR}${PREFIX}/share/man/man1" ${RM} "${STAGEDIR}${PREFIX}/include/msvc.h" ${SETENV} LD_LIBMAP_DISABLE=1 ldd -a "${STAGEDIR}${PREFIX}/bin/${PORTNAME}" "${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so" ${INSTALL_PROGRAM} "${WRKSRC}/sqldiff" "${STAGEDIR}${PREFIX}/bin" @@ -284,7 +286,8 @@ post-install-STRIP-on: post-install-TCL-on: ${INSTALL_PROGRAM} "${WRKSRC}/${PORTNAME}_analyzer" "${STAGEDIR}${PREFIX}/bin" - ${INSTALL_MAN} "${WRKSRC}/autoconf/tea/doc/${PORTNAME}.n" "${STAGEDIR}${PREFIX}/man/mann/${PORTNAME}.tcl${TCL_VER:S/.//g}.n" + ${MKDIR} ${STAGEDIR}${PREFIX}/share/man/mann + ${INSTALL_MAN} "${WRKSRC}/autoconf/tea/doc/${PORTNAME}.n" "${STAGEDIR}${PREFIX}/share/man/mann/${PORTNAME}.tcl${TCL_VER:S/.//g}.n" .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}" ${INSTALL_SCRIPT} "${WRKDIR}/${SUB_FILES}" "${WRKSRC}/contrib/sqlitecon.tcl" "${STAGEDIR}${EXAMPLESDIR}" diff --git a/databases/sqlite3/pkg-plist b/databases/sqlite3/pkg-plist index 5d51587c2440..f547f671f412 100644 --- a/databases/sqlite3/pkg-plist +++ b/databases/sqlite3/pkg-plist @@ -8,8 +8,8 @@ %%NO_TEA%%lib/libsqlite3.so.0 %%NO_TEA%%lib/libsqlite3.so.0.8.6 %%NO_TEA%%libdata/pkgconfig/sqlite3.pc -%%NO_TEA%%man/man1/sqlite3.1.gz -%%TCL%%man/mann/sqlite3.%%TCLSUF%%.n.gz +%%NO_TEA%%share/man/man1/sqlite3.1.gz +%%TCL%%share/man/mann/sqlite3.%%TCLSUF%%.n.gz %%TCL%%lib/%%TCLVER%%/sqlite3/libtclsqlite3.so %%TCL%%lib/%%TCLVER%%/sqlite3/pkgIndex.tcl %%TCL%%%%EXAMPLES%%share/examples/sqlite3/example.tcl