Bug 185932 - games/gtkatlantic: Update to version 0.4.4
Summary: games/gtkatlantic: Update to version 0.4.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 18:40 UTC by tkato432
Modified: 2014-01-31 11:50 UTC (History)
0 users

See Also:


Attachments
file.diff (2.79 KB, patch)
2014-01-20 18:40 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-01-20 18:40:00 UTC
- Update to version 0.4.4

Remove file:
files/patch-readpng.c
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2014-01-23 15:48:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Rusmir Dusko freebsd_committer freebsd_triage 2014-01-31 11:21:39 UTC
State Changed
From-To: open->closed

Please look older ports/173352
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-01-31 11:41:50 UTC
Author: nemysis
Date: Fri Jan 31 11:41:42 2014
New Revision: 341979
URL: http://svnweb.freebsd.org/changeset/ports/341979
QAT: https://qat.redports.org/buildarchive/r341979/

Log:
  - Update to 0.4.4
  - Change master sites and add icons
  - Take maintainership
  - Remove leading article from COMMENT
  - Remove USES gmake, build good without
  - Add licenses (GPLv2)
  - Disable all warnings with -w
  - Support STAGEDIR
  - Add DOCS and Option
  - Add Desktop entry file
  - Remove obsolete REINPLACE,
  - Add REINPLACE, make CFLAGS safe [1]
  - Remove obsolete patches
  
  PR:		ports/173352 ports/185932
  Submitted by:	nemysis (self), KATO Tsuguru <tkato432@yahoo.com> [1]

Deleted:
  head/games/gtkatlantic/files/
Modified:
  head/games/gtkatlantic/Makefile
  head/games/gtkatlantic/distinfo
  head/games/gtkatlantic/pkg-plist

Modified: head/games/gtkatlantic/Makefile
==============================================================================
--- head/games/gtkatlantic/Makefile	Fri Jan 31 11:37:32 2014	(r341978)
+++ head/games/gtkatlantic/Makefile	Fri Jan 31 11:41:42 2014	(r341979)
@@ -2,24 +2,50 @@
 # $FreeBSD$
 
 PORTNAME=	gtkatlantic
-PORTVERSION=	0.4.3
-PORTREVISION=	1
+PORTVERSION=	0.4.4
 CATEGORIES=	games
-MASTER_SITES=	http://download.tuxfamily.org/gtkatlantic/downloads/v0.4/
+MASTER_SITES=	http://download.tuxfamily.org/gtkatlantic/downloads/v0.4/ \
+		SF/nemysisfreebsdp/${CATEGORIES}/:icons
+DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}_icons${EXTRACT_SUFX}:icons
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A game like Monopoly(tm)
+MAINTAINER=	nemysis@FreeBSD.org
+COMMENT=	Game like Monopoly(tm)
+
+LICENSE=	GPLv2
 
-USES=		gmake pkgconfig
 USE_BZIP2=	yes
+USES=		pkgconfig
 USE_GNOME=	gtk20
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
+
+CPPFLAGS+=	-I${LOCALBASE}/include -w
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
+PORTDOCS=	AUTHORS ChangeLog NEWS README
+
+OPTIONS_DEFINE=	DOCS
+
+INSTALLS_ICONS=	yes
+ICON_SIZES=	32x32 48x48 64x64 72x72 96x96 128x128
+
+DESKTOP_ENTRIES="GtkAtlantic" "" "${PORTNAME}" \
+		"${PORTNAME}" "Game;BoardGame;" ""
+
 post-patch:
-	@${REINPLACE_CMD} -e '/-Werror/s|^|#|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e '/CFLAGS=/s|-ggdb|$$CFLAGS|' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|mkdir |$$(mkdir_p) |g' ${WRKSRC}/Makefile.in
 
+post-install:
+.for s in ${ICON_SIZES}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
+	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
+		${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
+.endfor
+	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>

Modified: head/games/gtkatlantic/distinfo
==============================================================================
--- head/games/gtkatlantic/distinfo	Fri Jan 31 11:37:32 2014	(r341978)
+++ head/games/gtkatlantic/distinfo	Fri Jan 31 11:41:42 2014	(r341979)
@@ -1,2 +1,4 @@
-SHA256 (gtkatlantic-0.4.3.tar.bz2) = 5711eab90b831816da48b1d30f0f0d2b511bfaa6b057240977296f2c133184b1
-SIZE (gtkatlantic-0.4.3.tar.bz2) = 748589
+SHA256 (gtkatlantic-0.4.4.tar.bz2) = 1f1676f74325807e3e405bd668b41764c76a67897f51290aaaf711db5e699c37
+SIZE (gtkatlantic-0.4.4.tar.bz2) = 778679
+SHA256 (gtkatlantic_icons.tar.bz2) = 73eaec5f7ef2014832ba2b4c5f610f007a7a98f109a5b1fb5c086c68bb57d440
+SIZE (gtkatlantic_icons.tar.bz2) = 41628

Modified: head/games/gtkatlantic/pkg-plist
==============================================================================
--- head/games/gtkatlantic/pkg-plist	Fri Jan 31 11:37:32 2014	(r341978)
+++ head/games/gtkatlantic/pkg-plist	Fri Jan 31 11:41:42 2014	(r341979)
@@ -5,7 +5,9 @@ bin/gtkatlantic
 %%DATADIR%%/default.conf
 %%DATADIR%%/help.index
 %%DATADIR%%/houses.png
+%%DATADIR%%/icon16x16.ico
 %%DATADIR%%/icon16x16.xpm
+%%DATADIR%%/icon32x32.ico
 %%DATADIR%%/icon32x32.xpm
 %%DATADIR%%/interface.xml
 %%DATADIR%%/logo.png
@@ -21,6 +23,13 @@ bin/gtkatlantic
 %%DATADIR%%/themes/generic_gradient/theme.conf
 %%DATADIR%%/themes/generic_gradient/tokens.png
 %%DATADIR%%/tokens.png
+share/icons/hicolor/128x128/apps/gtkatlantic.png
+share/icons/hicolor/32x32/apps/gtkatlantic.png
+share/icons/hicolor/48x48/apps/gtkatlantic.png
+share/icons/hicolor/64x64/apps/gtkatlantic.png
+share/icons/hicolor/72x72/apps/gtkatlantic.png
+share/icons/hicolor/96x96/apps/gtkatlantic.png
+share/pixmaps/gtkatlantic.png
 @dirrm %%DATADIR%%/themes/generic_gradient
 @dirrm %%DATADIR%%/themes
 @dirrm %%DATADIR%%
_______________________________________________
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"