Bug 178001

Summary: games/capitalism: unfetchable, subsite gone
Product: Ports & Packages Reporter: John Marino <draco>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
capitalism.diff
none
capitalism.diff none

Description John Marino 2013-04-20 19:30:00 UTC
www.linux-ecke.de exists, and even has a link to Capitalism, but the page "linux-ecke.de/Capitalism (the MASTER_SITE) is now gone.  And the distfile is not backed up on FreeBSD.

Fix: 

1) Contact linux-ecke and see if this is a mistake, restore site
2) backup distfile on FreeBSD
3) make port broken and remove it.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-20 19:30:07 UTC
Maintainer of games/capitalism,

Please note that PR ports/178001 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/178001

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-20 19:30:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 nemysis 2013-04-20 20:00:19 UTC
This have sent to mine future mentors, but isn't commited on

games/capitalism, games/capicity, multimedia/dv2jpg, net/xmlrpc-epi, net/tcptrace
Sun, 31 Mar 2013 20:29:47 +0200


games/capitalism

https://redports.org/buildarchive/20130331002400-44266/

- Trim Makefile header
- Bump portrevision
- Fix download, change Master site
- Add NLS Options
- Fix NLS
- Trim pkg-descr
- Trim pkg-plist



make makesum
===>  License GPLv2 accepted by the user
===>  Found saved configuration for capitalism-0.5.1_3
===>   capitalism-0.5.1_3 depends on file: /usr/local/sbin/pkg - found
=> capitalism-0.5.1.tbz doesn't seem to exist in /var/ports/distfiles/.
=> Attempting to fetch http://heanet.dl.sourceforge.net/project/capitalism/Capitalism/0.5/capitalism-0.5.1.tbz
capitalism-0.5.1.tbz                          100% of  332 kB  508 kBps
===> Fetching all distfiles required by capitalism-0.5.1_3 for building
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2013-05-18 18:23:06 UTC
State Changed
From-To: feedback->open

maintainer replied
Comment 5 Raphael Kubo da Costa freebsd_committer freebsd_triage 2013-05-18 23:28:36 UTC
The patch does not apply cleanly to the ports tree anymore. Could you
rebase it and send a newer version?
Comment 6 nemysis 2013-05-18 23:55:52 UTC
Have used in 

/usr/local/ports/local/ports-changed/games/capitalism

port diff > ../capitalism.diff


Old Pach does not apply cleanly, because since I have sent diff
Header have changed from

# $FreeBSD: head/games/capitalism/Makefile 310871 2013-01-23 15:00:18Z makc $

to

# $FreeBSD: head/games/capitalism/Makefile 317348 2013-05-04 21:03:51Z bapt $
Comment 7 Raphael Kubo da Costa freebsd_committer freebsd_triage 2013-05-19 00:22:54 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 8 dfilter service freebsd_committer freebsd_triage 2013-05-19 00:22:58 UTC
Author: rakuco
Date: Sat May 18 23:22:44 2013
New Revision: 318467
URL: http://svnweb.freebsd.org/changeset/ports/318467

Log:
  - Trim Makefile header
  - Bump portrevision
  - Fix download, change Master site
  - Add NLS Options
  - Fix NLS
  - Trim pkg-descr
  - Trim pkg-plist
  
  PR:		ports/178001
  Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)

Modified:
  head/games/capitalism/Makefile
  head/games/capitalism/distinfo
  head/games/capitalism/pkg-descr
  head/games/capitalism/pkg-plist

Modified: head/games/capitalism/Makefile
==============================================================================
--- head/games/capitalism/Makefile	Sat May 18 23:13:26 2013	(r318466)
+++ head/games/capitalism/Makefile	Sat May 18 23:22:44 2013	(r318467)
@@ -1,12 +1,11 @@
-# Created by:	nemysis@gmx.ch
+# Created by: nemysis <nemysis@gmx.ch>
 # $FreeBSD$
 
 PORTNAME=	capitalism
 PORTVERSION=	0.5.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games
-MASTER_SITES=	http://www.linux-ecke.de/Capitalism/packages/0.5/
-DISTNAME=	${PORTNAME}_${DISTVERSION}
+MASTER_SITES=	SF/${PORTNAME}/Capitalism/0.5/
 EXTRACT_SUFX=	.tbz
 
 MAINTAINER=	nemysis@gmx.ch
@@ -14,8 +13,6 @@ COMMENT=	Qt client for the Monopd server
 
 LICENSE=	GPLv2
 
-BROKEN=		Does not fetch
-
 LIB_DEPENDS=	pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
 		pcre:${PORTSDIR}/devel/pcre \
 		png15:${PORTSDIR}/graphics/png \
@@ -24,48 +21,61 @@ LIB_DEPENDS=	pthread-stubs:${PORTSDIR}/d
 		fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
 		xcb:${PORTSDIR}/x11/libxcb
 
-USES=		gettext iconv
+WRKSRC=		${WRKDIR}/Capitalism-${PORTVERSION}
+
+USES=		iconv
 USE_XORG=	ice sm x11 xau xdmcp xext xrender
 USE_QT4=	moc_build qmake_build rcc_build uic_build iconengines imageformats \
 		corelib gui network script xml
-INSTALLS_ICONS=	yes
 MAKE_JOBS_SAFE=	yes
 
-PORTDOCS=	README changelog
+PORTDOCS=	README changelog readme.txt
 
-WRKSRC=		${WRKDIR}/Capitalism_${PORTVERSION}
+INSTALLS_ICONS=	yes
 ICON_SIZES=	16x16 22x22 24x24 32x32 48x48 64x64
 
 DESKTOP_ENTRIES="Capitalism" "${COMMENT}" "${PORTNAME}" \
-		"${PORTNAME}" "Game;BoardGame;" ${FALSE}
+		"${PORTNAME}" "Game;BoardGame;" false
+
+OPTIONS_DEFINE=	NLS
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MNLS}
+USES+=		gettext
+PLIST_SUB+=	NLS=""
+.else
+PLIST_SUB+=	NLS="@comment "
+.endif
+
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
 	${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
 
 post-configure:
-	@${REINPLACE_CMD} 's|-O2 -Wall -W||g' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|-O2 -Wall -W||g' ${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/Capitalism ${PREFIX}/bin/${PORTNAME}
 
-.for d in games images ts
+.for d in games images
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
 .endfor
 
+.if ${PORT_OPTIONS:MNLS}
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${DATADIR})
+.endif
+
 post-install:
 .for s in ${ICON_SIZES}
 	${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
 	${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \
 		${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
 .endfor
-	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
-		${PREFIX}/share/pixmaps
+	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
 
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 

Modified: head/games/capitalism/distinfo
==============================================================================
--- head/games/capitalism/distinfo	Sat May 18 23:13:26 2013	(r318466)
+++ head/games/capitalism/distinfo	Sat May 18 23:22:44 2013	(r318467)
@@ -1,2 +1,2 @@
-SHA256 (capitalism_0.5.1.tbz) = 049baf35bf90bab35f06fe0963969362375b1d8a78efe70514f0527cfe725119
-SIZE (capitalism_0.5.1.tbz) = 343927
+SHA256 (capitalism-0.5.1.tbz) = 9580bc11bd186a24fbc81b318d3c6620b072d827c019e2da44a5b1889c952895
+SIZE (capitalism-0.5.1.tbz) = 340835

Modified: head/games/capitalism/pkg-descr
==============================================================================
--- head/games/capitalism/pkg-descr	Sat May 18 23:13:26 2013	(r318466)
+++ head/games/capitalism/pkg-descr	Sat May 18 23:22:44 2013	(r318467)
@@ -1,4 +1,4 @@
 Capitalism is a Client for the Monopd server.
 You can play Monopoly like games with it.
 
-WWW: http://www.linux-ecke.de/Capitalism/
+WWW: https://sourceforge.net/projects/capitalism/

Modified: head/games/capitalism/pkg-plist
==============================================================================
--- head/games/capitalism/pkg-plist	Sat May 18 23:13:26 2013	(r318466)
+++ head/games/capitalism/pkg-plist	Sat May 18 23:22:44 2013	(r318467)
@@ -69,17 +69,16 @@ bin/capitalism
 %%DATADIR%%/images/tools/sellhouserow.png
 %%DATADIR%%/images/tools/trade.png
 %%DATADIR%%/images/tools/unmortage.png
-%%DATADIR%%/ts/Capid_de.trans
-%%DATADIR%%/ts/Capitalism_de.qm
-%%DATADIR%%/ts/Capitalism_de.ts
-%%DATADIR%%/ts/Capitalism_es.qm
-%%DATADIR%%/ts/Capitalism_es.ts
-%%DATADIR%%/ts/Capitalism_fi.qm
-%%DATADIR%%/ts/Capitalism_fi.ts
-%%DATADIR%%/ts/Capitalism_it.ts
-%%DATADIR%%/ts/Capitalism_pl.qm
-%%DATADIR%%/ts/Capitalism_pl.ts
-%%DATADIR%%/ts/Capitalism_ru.ts
+%%NLS%%%%DATADIR%%/ts/Capid_de.trans
+%%NLS%%%%DATADIR%%/ts/Capitalism_de.qm
+%%NLS%%%%DATADIR%%/ts/Capitalism_de.ts
+%%NLS%%%%DATADIR%%/ts/Capitalism_es.qm
+%%NLS%%%%DATADIR%%/ts/Capitalism_es.ts
+%%NLS%%%%DATADIR%%/ts/Capitalism_fi.qm
+%%NLS%%%%DATADIR%%/ts/Capitalism_fi.ts
+%%NLS%%%%DATADIR%%/ts/Capitalism_it.ts
+%%NLS%%%%DATADIR%%/ts/Capitalism_pl.qm
+%%NLS%%%%DATADIR%%/ts/Capitalism_pl.ts
 share/icons/hicolor/16x16/apps/capitalism.png
 share/icons/hicolor/22x22/apps/capitalism.png
 share/icons/hicolor/24x24/apps/capitalism.png
@@ -87,21 +86,7 @@ share/icons/hicolor/32x32/apps/capitalis
 share/icons/hicolor/48x48/apps/capitalism.png
 share/icons/hicolor/64x64/apps/capitalism.png
 share/pixmaps/capitalism.png
-@dirrmtry share/icons/hicolor/64x64/apps
-@dirrmtry share/icons/hicolor/64x64
-@dirrmtry share/icons/hicolor/48x48/apps
-@dirrmtry share/icons/hicolor/48x48
-@dirrmtry share/icons/hicolor/32x32/apps
-@dirrmtry share/icons/hicolor/32x32
-@dirrmtry share/icons/hicolor/24x24/apps
-@dirrmtry share/icons/hicolor/24x24
-@dirrmtry share/icons/hicolor/22x22/apps
-@dirrmtry share/icons/hicolor/22x22
-@dirrmtry share/icons/hicolor/16x16/apps
-@dirrmtry share/icons/hicolor/16x16
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons
-@dirrm %%DATADIR%%/ts
+%%NLS%%@dirrm %%DATADIR%%/ts
 @dirrm %%DATADIR%%/images/tools
 @dirrm %%DATADIR%%/images/smilies
 @dirrm %%DATADIR%%/images/menu
_______________________________________________
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"