svn commit: r341979 - in head/games/gtkatlantic: . files
Rusmir Dusko
nemysis at FreeBSD.org
Fri Jan 31 11:41:43 UTC 2014
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 at 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 at FreeBSD.org
-COMMENT= A game like Monopoly(tm)
+MAINTAINER= nemysis at 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%%
More information about the svn-ports-all
mailing list