pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mbrola: clean up, simplify, install documentation



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Fri Jan 26 13:47:47 2024 +0100
Changeset:	4ebf0fdb75ae9215ac4f8af5e72e3c274867ff54

Modified Files:
	mbrola/Makefile
	mbrola/PLIST
	mbrola/distinfo
	mbrola/patches/patch-Misc_common.h

Log Message:
mbrola: clean up, simplify, install documentation

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4ebf0fdb75ae9215ac4f8af5e72e3c274867ff54

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mbrola/Makefile                    | 19 ++++++-------------
 mbrola/PLIST                       | 15 +++++++++++++++
 mbrola/distinfo                    |  8 ++++----
 mbrola/patches/patch-Misc_common.h |  4 ++--
 4 files changed, 27 insertions(+), 19 deletions(-)

diffs:
diff --git a/mbrola/Makefile b/mbrola/Makefile
index e8c5f7b8b8..1b74d3fc71 100644
--- a/mbrola/Makefile
+++ b/mbrola/Makefile
@@ -1,32 +1,25 @@
 # $NetBSD$
 
-DISTNAME=	3.3
-PKGNAME=	mbrola-${DISTNAME}
+DISTNAME=	mbrola-3.3
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_GITHUB:=numediart/}
 GITHUB_PROJECT=	MBROLA
-GITHUB_TAG=	refs/tags/3.3
-DIST_SUBDIR=	${GITHUB_PROJECT}
+GITHUB_TAG=	${PKGVERSION_NOREV}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/numediart/MBROLA/
 COMMENT=	Speech synthesizer
 LICENSE=	gnu-agpl-v3
 
-WRKSRC=	${WRKDIR}/MBROLA-3.3
+WRKSRC=		${WRKDIR}/MBROLA-3.3
 
-USE_TOOLS+=	gmake
+USE_TOOLS+=	gmake pax
 BUILD_TARGET=
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-CFLAGS+=	-DTARGET_OS_NETBSD
-.endif
-
-INSTALLATION_DIRS=	bin
+INSTALLATION_DIRS=	bin share/doc/mbrola
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/Bin/mbrola ${DESTDIR}${PREFIX}/bin
+	cd ${WRKSRC}/Documentation && pax -pp -rw * ${DESTDIR}${PREFIX}/share/doc/mbrola
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/mbrola/PLIST b/mbrola/PLIST
index 0952933cc9..96e962c330 100644
--- a/mbrola/PLIST
+++ b/mbrola/PLIST
@@ -1,2 +1,17 @@
 @comment $NetBSD$
 bin/mbrola
+share/doc/mbrola/HISTORY.txt
+share/doc/mbrola/Image1.gif
+share/doc/mbrola/LATEX/doc2.lyx
+share/doc/mbrola/LATEX/doc2.tex
+share/doc/mbrola/LATEX/doc2.toc
+share/doc/mbrola/LATEX/fpms.gif
+share/doc/mbrola/LATEX/fpms.ps.bb
+share/doc/mbrola/LATEX/fpms.ps.gz
+share/doc/mbrola/LATEX/heritage.gif
+share/doc/mbrola/LATEX/heritage.ps.bb
+share/doc/mbrola/LATEX/heritage.ps.gz
+share/doc/mbrola/documentation301.html
+share/doc/mbrola/documentation301g.odt
+share/doc/mbrola/heritage.gif
+share/doc/mbrola/rom_documentation.txt
diff --git a/mbrola/distinfo b/mbrola/distinfo
index 4d84e1d3d7..7f8ab9d543 100644
--- a/mbrola/distinfo
+++ b/mbrola/distinfo
@@ -1,7 +1,7 @@
 $NetBSD$
 
-BLAKE2s (MBROLA/3.3.tar.gz) = 0b5fe781e2480a7ab03e84d79e9dc84cd38aeda35ba45335c580aeee59e514a6
-SHA512 (MBROLA/3.3.tar.gz) = 4c15481d2afc7f459c511d2f2791ae1f0f89893ea86fcde113c73f9b5509b893bc7beac8ec5fa76ca0f4e0aca35982ff1db15e8611514d91991608aee004c3f2
-Size (MBROLA/3.3.tar.gz) = 345444 bytes
+BLAKE2s (mbrola-3.3.tar.gz) = 0b5fe781e2480a7ab03e84d79e9dc84cd38aeda35ba45335c580aeee59e514a6
+SHA512 (mbrola-3.3.tar.gz) = 4c15481d2afc7f459c511d2f2791ae1f0f89893ea86fcde113c73f9b5509b893bc7beac8ec5fa76ca0f4e0aca35982ff1db15e8611514d91991608aee004c3f2
+Size (mbrola-3.3.tar.gz) = 345444 bytes
 SHA1 (patch-Makefile) = dafcf1e949e4e7fd623958a828b98763c37cad72
-SHA1 (patch-Misc_common.h) = cdd783c89d35b547b587a57555be722bf495f81b
+SHA1 (patch-Misc_common.h) = 82aabe5bfdb4e95128039bfc1547ddbdb0efda95
diff --git a/mbrola/patches/patch-Misc_common.h b/mbrola/patches/patch-Misc_common.h
index f34e85ad3e..85a0817b2f 100644
--- a/mbrola/patches/patch-Misc_common.h
+++ b/mbrola/patches/patch-Misc_common.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
-Add NetBSD target and check for _LITTLE_ENDIAN
+Add NetBSD support and check for _LITTLE_ENDIAN
 
 --- Misc/common.h.orig	2019-12-17 16:05:14.000000000 +0000
 +++ Misc/common.h
@@ -9,7 +9,7 @@ Add NetBSD target and check for _LITTLE_ENDIAN
  #endif
  
 -#if defined(__GLIBC__)
-+#if defined(__GLIBC__) || defined(TARGET_OS_NETBSD)
++#if defined(__GLIBC__) || defined(__NetBSD__)
  #include <endian.h>
  #undef BIG_ENDIAN
  #undef LITTLE_ENDIAN


Home | Main Index | Thread Index | Old Index