aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-28 17:38:00 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-28 18:33:07 +0000
commit836d69289bb91ccd2bb23ea3536a82c3ac226b52 (patch)
treee6b4cbdbadb3556dfaac14ff65a0b31a9eab2ca8
parent3ba90f50b479c1743b6d4981547e34403e1e639e (diff)
downloadports-836d69289bb91ccd2bb23ea3536a82c3ac226b52.tar.gz
ports-836d69289bb91ccd2bb23ea3536a82c3ac226b52.zip
audio/espeak-ng: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--audio/espeak-ng/Makefile7
-rw-r--r--audio/espeak-ng/pkg-plist6
2 files changed, 7 insertions, 6 deletions
diff --git a/audio/espeak-ng/Makefile b/audio/espeak-ng/Makefile
index a51c5f5045b1..ebabe4275d20 100644
--- a/audio/espeak-ng/Makefile
+++ b/audio/espeak-ng/Makefile
@@ -1,6 +1,6 @@
PORTNAME= espeak-ng
PORTVERSION= 1.51.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= audio
#MASTER_SITES= https://github.com/espeak-ng/${PORTNAME}/releases/download/${PORTVERSION}/
@@ -18,6 +18,7 @@ USE_GITHUB= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-pcaudiolib
CONFLICTS_INSTALL= espeak speak
@@ -31,8 +32,8 @@ pre-build:
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
- ${RLN} ${STAGEDIR}${PREFIX}/man/man1/espeak-ng.1 \
- ${STAGEDIR}${PREFIX}/man/man1/espeak.1
+ ${RLN} ${STAGEDIR}${PREFIX}/share/man/man1/espeak-ng.1 \
+ ${STAGEDIR}${PREFIX}/share/man/man1/espeak.1
${LN} -sf libespeak-ng.so ${STAGEDIR}${PREFIX}/lib/libespeak.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libespeak-ng.so*
diff --git a/audio/espeak-ng/pkg-plist b/audio/espeak-ng/pkg-plist
index 94db3c094dae..83be653c760b 100644
--- a/audio/espeak-ng/pkg-plist
+++ b/audio/espeak-ng/pkg-plist
@@ -12,9 +12,9 @@ lib/libespeak-ng.so.1
lib/libespeak-ng.so.1.1.51
lib/libespeak.so
libdata/pkgconfig/espeak-ng.pc
-man/man1/espeak-ng.1.gz
-man/man1/espeak.1.gz
-man/man1/speak-ng.1.gz
+share/man/man1/espeak-ng.1.gz
+share/man/man1/espeak.1.gz
+share/man/man1/speak-ng.1.gz
%%PORTDOCS%%%%DOCSDIR%%/add_language.md
%%PORTDOCS%%%%DOCSDIR%%/building.md
%%PORTDOCS%%%%DOCSDIR%%/contributing.md