ports/172652: [PATCH] games/secretmaryochronicles-music: Makefile simplified, take maintainership

nemysis nemysis at gmx.ch
Sat Oct 13 01:40:02 UTC 2012


>Number:         172652
>Category:       ports
>Synopsis:       [PATCH] games/secretmaryochronicles-music: Makefile simplified, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 13 01:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

Makefile changed:

Simplified

- do-install:
- post-install:

- Take maintainership

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX.
0 fatal errors and 2 warnings found.

>Fix:

--- secretmaryochronicles-music-5.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/secretmaryochronicles-music/Makefile ./Makefile
--- /usr/ports/games/secretmaryochronicles-music/Makefile	2012-10-12 14:15:03.000000000 +0200
+++ ./Makefile	2012-10-13 03:33:09.000000000 +0200
@@ -9,9 +9,9 @@
 PORTVERSION=	5.0
 CATEGORIES=	games
 MASTER_SITES=	SF/smclone/Addon%20-%20Music/${PORTVERSION}
-DISTNAME=	SMC_Music_${PORTVERSION}_high
+DISTNAME=	SMC_Music_${DISTVERSION}_high
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	nemysis at gmx.ch
 COMMENT=	Background music for Secret Maryo Chronicles
 
 RUN_DEPENDS=	smc:${PORTSDIR}/games/secretmaryochronicles
@@ -33,15 +33,12 @@
 		${WRKSRC}/docs/Addon_-_Music_Readme.txt
 
 do-install:
-	cd ${WRKSRC}/data && \
-		${FIND} music | ${CPIO} -pdmvu ${DATADIR}
+	@cd ${WRKSRC}/data && ${COPYTREE_SHARE} \* ${DATADIR}
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
-.endfor
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
--- secretmaryochronicles-music-5.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list