From nemysis@gmx.ch  Fri Aug 31 01:16:56 2012
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id E7FE01065670
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 31 Aug 2012 01:16:56 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22])
	by mx1.freebsd.org (Postfix) with SMTP id 11A968FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 31 Aug 2012 01:16:55 +0000 (UTC)
Received: (qmail invoked by alias); 31 Aug 2012 01:16:47 -0000
Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201]
  by mail.gmx.net (mp030) with SMTP; 31 Aug 2012 03:16:47 +0200
Received: by something.email.com (sSMTP sendmail emulation); Fri, 31 Aug 2012 03:16:47 +0200
Message-Id: <20120831011656.E7FE01065670@hub.freebsd.org>
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: [PATCH] games/secretmaryochronicles: update to 1.10.20120512_4, Makefile changed, OptionsNG
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 31 01:20:06 UTC 2012
>Closed-Date:    Tue Sep 04 18:31:10 UTC 2012
>Last-Modified:  Thu Sep  6 16:00:23 UTC 2012
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Aug 31 01:20:18 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171194 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Tue Sep 4 18:31:06 UTC 2012 
State-Changed-Why:  
Committed partially. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171194 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/171194: commit references a PR
Date: Tue,  4 Sep 2012 18:31:05 +0000 (UTC)

 Author: amdmi3
 Date: Tue Sep  4 18:30:48 2012
 New Revision: 303667
 URL: http://svn.freebsd.org/changeset/ports/303667
 
 Log:
   - Add missing PORTDOC
   
   PR:		171194
   Submitted by:	nemysis <nemysis@gmx.ch>
 
 Modified:
   head/games/secretmaryochronicles/Makefile
 
 Modified: head/games/secretmaryochronicles/Makefile
 ==============================================================================
 --- head/games/secretmaryochronicles/Makefile	Tue Sep  4 18:27:59 2012	(r303666)
 +++ head/games/secretmaryochronicles/Makefile	Tue Sep  4 18:30:48 2012	(r303667)
 @@ -7,7 +7,7 @@
  
  PORTNAME=	secretmaryochronicles
  PORTVERSION=	1.10.git20120512
 -PORTREVISION=	3
 +PORTREVISION=	4
  CATEGORIES=	games
  MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/
  #		SF/smclone/Secret%20Maryo%20Chronicles/${PORTVERSION}
 @@ -46,7 +46,7 @@ run-autotools:
  		${WRKSRC}/src/Makefile.in
  
  .if !defined(NOPORTDOCS)
 -PORTDOCS=	controls.html style.css
 +PORTDOCS=	controls.html history.html style.css
  
  post-install:
  	${MKDIR} ${DOCSDIR}
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
Date: Tue, 4 Sep 2012 22:30:08 +0400
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: nemysis <nemysis@gmx.ch>
Subject: Re: [PATCH] games/secretmaryochronicles: update to 1.10.20120512_4,
 Makefile changed, OptionsNG

 * nemysis (nemysis@gmx.ch) wrote:
 
 >  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
 
 Portlint's complain on strings in portversion is incorrect, so
 this change is not needed. Portlint patch is pending, however some
 port handling utilities are still to be checked whether they handle
 strings correctly. This port is an example why we need strings in
 PORTVERSION.
 
 >  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
 
 Not really needed, /usr/local fix is enough for autogen.sh to work
 correctly.
 
 >  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
 
 I'd prefer to not use options for DOCS when that's a single option.
 Dialog asking whether I need docs for each and every port is useless
 and annoying.
 
 Thus, I'll only take PORTDOCS+=history.html from this patch.
 
 -- 
 Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
 amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/171194: commit references a PR
Date: Thu,  6 Sep 2012 15:56:02 +0000 (UTC)

 Author: amdmi3
 Date: Thu Sep  6 15:55:47 2012
 New Revision: 303774
 URL: http://svn.freebsd.org/changeset/ports/303774
 
 Log:
   - Add optionsNG
   
   PR:		171194
   Submitted by:	nemysis <nemysis@gmx.ch>
 
 Modified:
   head/games/secretmaryochronicles/Makefile
 
 Modified: head/games/secretmaryochronicles/Makefile
 ==============================================================================
 --- head/games/secretmaryochronicles/Makefile	Thu Sep  6 15:55:28 2012	(r303773)
 +++ head/games/secretmaryochronicles/Makefile	Thu Sep  6 15:55:47 2012	(r303774)
 @@ -37,6 +37,10 @@ DATADIR=	${PREFIX}/share/smc
  
  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
  
 @@ -45,14 +49,12 @@ run-autotools:
  	@${REINPLACE_CMD} -e '/^LIBS =/ s|$$|$$(INTLLIBS)|' \
  		${WRKSRC}/src/Makefile.in
  
 -.if !defined(NOPORTDOCS)
 -PORTDOCS=	controls.html history.html style.css
 -
 +.if ${PORT_OPTIONS:MDOCS}
  post-install:
  	${MKDIR} ${DOCSDIR}
 -.for f in ${PORTDOCS}
 +.  for f in ${PORTDOCS}
  	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
 -.endfor
 +.  endfor
  .endif
  
  .include <bsd.port.mk>
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
