Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2014 01:16:18 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375765 - in head/audio/eawpats: . files
Message-ID:  <201412290116.sBT1GIex096128@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 29 01:16:17 2014
New Revision: 375765
URL: https://svnweb.freebsd.org/changeset/ports/375765
QAT: https://qat.redports.org/buildarchive/r375765/

Log:
  - Fix install
  - Fix timidity directory
  - Add pkg-message with information on timidity configuration

Added:
  head/audio/eawpats/files/
  head/audio/eawpats/files/pkg-message.in   (contents, props changed)
Modified:
  head/audio/eawpats/Makefile
  head/audio/eawpats/pkg-descr
  head/audio/eawpats/pkg-plist

Modified: head/audio/eawpats/Makefile
==============================================================================
--- head/audio/eawpats/Makefile	Mon Dec 29 01:15:51 2014	(r375764)
+++ head/audio/eawpats/Makefile	Mon Dec 29 01:16:17 2014	(r375765)
@@ -5,8 +5,7 @@ PORTNAME=	eawpats
 PORTVERSION=	12
 PORTREVISION=	3
 CATEGORIES=	audio
-MASTER_SITES=	${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR=	distfiles
+MASTER_SITES=	GENTOO/distfiles
 DISTNAME=	eawpats12_full
 
 MAINTAINER=	ports@FreeBSD.org
@@ -15,17 +14,17 @@ COMMENT=	Eric A. Welsh's collection of G
 RESTRICTED=	Some of the patches are marked no-commercial-use
 
 NO_BUILD=	yes
+NO_ARCH=	yes
+SUB_FILES=	pkg-message
 
 PATCH_SUBDIRS=	ethnic mazpat/fx gsdrum08 gsdrum25 gsdrum40 gus power sfx wime
 DOC_SUBDIRS=	ethnic gsdrum08 gsdrum25 gsdrum40 power wime
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
-TIMIDITY_DATADIR=	${PREFIX}/share/timidity
+TIMIDITY_DATADIR=	${PREFIX}/lib/timidity
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|/home/user/eawpats|${DATADIR}|' ${WRKSRC}/linuxconfig/timidity.cfg
 
@@ -38,8 +37,6 @@ do-install:
 .endfor
 	${MKDIR} ${STAGEDIR}${TIMIDITY_DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${STAGEDIR}${TIMIDITY_DATADIR}/timidity.cfg-eawpats
-	[ -f ${STAGEDIR}${TIMIDITY_DATADIR}/timidity.cfg ] || \
-		${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${STAGEDIR}${TIMIDITY_DATADIR}/timidity.cfg
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/*.txt ${WRKSRC}/*.hlp ${STAGEDIR}${DOCSDIR}
 .for subdir in ${DOC_SUBDIRS}

Added: head/audio/eawpats/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/eawpats/files/pkg-message.in	Mon Dec 29 01:16:17 2014	(r375765)
@@ -0,0 +1,11 @@
+===========================================================================
+
+To use eawpats you'll need to replace your
+
+%%LOCALBASE%%/lib/timidity/timidity.cfg
+
+with
+
+%%PREFIX%%/lib/timidity/timidity.cfg-eawpats
+
+===========================================================================

Modified: head/audio/eawpats/pkg-descr
==============================================================================
--- head/audio/eawpats/pkg-descr	Mon Dec 29 01:15:51 2014	(r375764)
+++ head/audio/eawpats/pkg-descr	Mon Dec 29 01:16:17 2014	(r375765)
@@ -1,4 +1,3 @@
 This is Eric A. Welsh's collection of Gravis UltraSound MIDI patches,
 configured for use with the TiMidity++ MIDI player.  A configuration file
 for TiMidity++ to use these patches is also included.
-

Modified: head/audio/eawpats/pkg-plist
==============================================================================
--- head/audio/eawpats/pkg-plist	Mon Dec 29 01:15:51 2014	(r375764)
+++ head/audio/eawpats/pkg-plist	Mon Dec 29 01:16:17 2014	(r375765)
@@ -356,9 +356,7 @@
 %%DATADIR%%/woodflut.pat
 %%DATADIR%%/xgmap2.cfg
 %%DATADIR%%/xylophon.pat
-@unexec if cmp -s %D/share/timidity/timidity.cfg %D/share/timidity/timidity.cfg-eawpats; then rm -f %D/share/timidity/timidity.cfg; fi
-share/timidity/timidity.cfg-eawpats
-@exec [ ! -f %B/timidity.cfg ] && cp -p %B/%f %B/timidity.cfg
+lib/timidity/timidity.cfg-eawpats
 %%PORTDOCS%%%%DOCSDIR%%/changelog.txt
 %%PORTDOCS%%%%DOCSDIR%%/copyrigh.txt
 %%PORTDOCS%%%%DOCSDIR%%/drumsfx.txt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412290116.sBT1GIex096128>