svn commit: r306277 - head/audio/guspat

Jason E. Hale jhale at FreeBSD.org
Mon Oct 22 16:13:05 UTC 2012


Author: jhale
Date: Mon Oct 22 16:13:05 2012
New Revision: 306277
URL: http://svn.freebsd.org/changeset/ports/306277

Log:
  - Update MASTER_SITES
  - Use COPYTREE_SHARE to install data
  - Trim Makefile header
  
  PR:		ports/172495
  Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>
  Approved by:	makc, avilla (mentors, implicit)
  Feature safe:	yes

Modified:
  head/audio/guspat/Makefile

Modified: head/audio/guspat/Makefile
==============================================================================
--- head/audio/guspat/Makefile	Mon Oct 22 14:51:53 2012	(r306276)
+++ head/audio/guspat/Makefile	Mon Oct 22 16:13:05 2012	(r306277)
@@ -1,17 +1,13 @@
-# New ports collection makefile for:	guspat
-# Date created:				2004/07/04
-# Whom:					nork at FreeBSD.org
-#
+# Created by: nork at FreeBSD.org
 # $FreeBSD$
-#
 
 PORTNAME=	guspat
 PORTVERSION=	20000706
 PORTREVISION=	2
 CATEGORIES=	audio
-MASTER_SITES=	http://www.linet.gr.jp/~tamuki/timidity/eawplus/
-MASTER_SITES+=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	nork
+MASTER_SITES=	ftp://plamo.linet.gr.jp/pub/Plamo-src/contrib/Sound/timidity/ \
+		RINGSERVER/linux/Plamo/Plamo-src/contrib/Sound/timidity \
+		LOCAL/nork
 DISTFILES=	${PORTNAME}-${PORTVERSION}-required${EXTRACT_SUFX} \
 		${PORTNAME}-${PORTVERSION}-optional${EXTRACT_SUFX}
 
@@ -32,8 +28,9 @@ TIMIDITY_DATADIR=	share/timidity
 
 do-install:
 	@${MKDIR} ${DATADIR}
-	@${CP} -pr ${WRKSRC}/* ${DATADIR}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR}
 	@${MKDIR} ${PREFIX}/${TIMIDITY_DATADIR}
-	@${INSTALL_DATA} ${WRKSRC}/timidity.cfg ${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-guspat
+	cd ${WRKSRC} && ${INSTALL_DATA} timidity.cfg \
+		${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-guspat
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list