Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2012 03:16:47 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        amdmi3@FreeBSD.org
Subject:   ports/171194: [PATCH] games/secretmaryochronicles: update to 1.10.20120512_4, Makefile changed, OptionsNG
Message-ID:  <20120831011656.E7FE01065670@hub.freebsd.org>
Resent-Message-ID: <201208310120.q7V1K70H097128@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171194
>Category:       ports
>Synopsis:       [PATCH] games/secretmaryochronicles: update to 1.10.20120512_4, Makefile changed, OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 31 01:20:06 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:

because portlint -A not like 1.10.git20120512

DISTNAME=<---->smc-1.10.git20120512

added

-e 's|/usr/share/|${LOCALBASE}/share/|'

OptionsNG

- Update to 1.10.20120512_4

Port maintainer (amdmi3@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- secretmaryochronicles-1.10.20120512_4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/secretmaryochronicles/Makefile ./Makefile
--- /usr/ports/games/secretmaryochronicles/Makefile	2012-06-24 20:42:39.000000000 +0200
+++ ./Makefile	2012-08-31 02:44:14.000000000 +0200
@@ -6,12 +6,12 @@
 #
 
 PORTNAME=	secretmaryochronicles
-PORTVERSION=	1.10.git20120512
-PORTREVISION=	3
+PORTVERSION=	1.10.20120512
+PORTREVISION=	4
 CATEGORIES=	games
 MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/
 #		SF/smclone/Secret%20Maryo%20Chronicles/${PORTVERSION}
-DISTNAME=	smc-${PORTVERSION}
+DISTNAME=	smc-1.10.git20120512
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Secret Maryo Chronicles two-dimensional platform game
@@ -37,22 +37,25 @@
 
 WRKSRC=		${WRKDIR}/smc
 
+PORTDOCS=	controls.html history.html style.css
+
+.include <bsd.port.options.mk>
+
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/autogen.sh
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+	-e 's|/usr/share/|${LOCALBASE}/share/|' ${WRKSRC}/autogen.sh
 
 run-autotools:
 	cd ${WRKSRC} && ${SH} ./autogen.sh
 	@${REINPLACE_CMD} -e '/^LIBS =/ s|$$|$$(INTLLIBS)|' \
 		${WRKSRC}/src/Makefile.in
 
-.if !defined(NOPORTDOCS)
-PORTDOCS=	controls.html style.css
-
 post-install:
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
+.  for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
-.endfor
+.  endfor
 .endif
 
 .include <bsd.port.mk>
--- secretmaryochronicles-1.10.20120512_4.patch ends here ---

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



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