aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpclin <pclin@FreeBSD.org>2013-02-22 17:17:37 +0800
committerpclin <pclin@FreeBSD.org>2013-02-22 17:17:37 +0800
commit1249895d44fd6eafe53120c878572a270fec3923 (patch)
treef4ced7cbf14d018a81ab5ebda0355f91a3a49aac /games
parent48b1468f69297bf6bf83949c0a8bdc85a55c481e (diff)
downloadfreebsd-ports-gnome-1249895d44fd6eafe53120c878572a270fec3923.tar.gz
freebsd-ports-gnome-1249895d44fd6eafe53120c878572a270fec3923.tar.zst
freebsd-ports-gnome-1249895d44fd6eafe53120c878572a270fec3923.zip
- Update to 1.1.0
- Refine share data/icon installation - Reformat pkg-descr PR: ports/176324 Submitted by: nemysis <nemysis@gmx.ch> (maintainer) Approved by: araujo (mentor)
Diffstat (limited to 'games')
-rw-r--r--games/connectagram/Makefile16
-rw-r--r--games/connectagram/distinfo4
-rw-r--r--games/connectagram/pkg-descr22
-rw-r--r--games/connectagram/pkg-plist55
4 files changed, 67 insertions, 30 deletions
diff --git a/games/connectagram/Makefile b/games/connectagram/Makefile
index 713f3fdd97d4..7eef381adc56 100644
--- a/games/connectagram/Makefile
+++ b/games/connectagram/Makefile
@@ -1,13 +1,8 @@
-# New Ports collection makefile for: connectagram
-# Date created: 23 April 2012
-# Whom: nemysis@gmx.ch
-#
+# Created by: nemysis@gmx.ch
# $FreeBSD$
-#
PORTNAME= connectagram
-PORTVERSION= 1.0.1
-PORTREVISION= 2
+PORTVERSION= 1.1.0
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
@@ -22,7 +17,7 @@ USE_QT4= moc_build qmake_build rcc_build gui network
INSTALLS_ICONS= yes
MAKE_JOBS_SAFE= yes
-PORTDOCS= ChangeLog
+PORTDOCS= CREDITS ChangeLog
.include <bsd.port.options.mk>
@@ -31,10 +26,11 @@ do-configure:
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
post-install:
-# Pixmaps
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR})
+ @(cd ${WRKSRC}/icons && ${COPYTREE_SHARE} patterns ${DATADIR})
+ @(cd ${WRKSRC}/icons && ${COPYTREE_SHARE} hicolor ${PREFIX}/icons/)
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
-# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
diff --git a/games/connectagram/distinfo b/games/connectagram/distinfo
index c1dbe7b0bf23..46e3dd6528d2 100644
--- a/games/connectagram/distinfo
+++ b/games/connectagram/distinfo
@@ -1,2 +1,2 @@
-SHA256 (connectagram-1.0.1-src.tar.bz2) = 6d3696b69f09eda26cdd2a42fe4d91de3effc4757c68f5109b19c1d4d6510e37
-SIZE (connectagram-1.0.1-src.tar.bz2) = 263808
+SHA256 (connectagram-1.1.0-src.tar.bz2) = 15ee5ceda89ee378377d8eb3a13e7335c8535f10d0c3740ee05692fbd7ea6adc
+SIZE (connectagram-1.1.0-src.tar.bz2) = 780285
diff --git a/games/connectagram/pkg-descr b/games/connectagram/pkg-descr
index 52dd1382c848..61ff9db4ef56 100644
--- a/games/connectagram/pkg-descr
+++ b/games/connectagram/pkg-descr
@@ -1,14 +1,14 @@
-Connectagram is a word unscrambling game. The board consists
-of several scrambled words that are joined together.
-You can choose the length of the words, the amount of words,
-and the pattern that the words are arranged in.
-The game provides a hint option for times when you are stuck,
-and features an online word lookup that fetches the definitions
-of each word from www.dict.org. Your current progress is automatically saved.
+Connectagram is a word unscrambling game. The board consists of several
+scrambled words that are joined together. You can choose the length of the
+words, the amount of words, and the pattern that the words are arranged in.
-Note that this game involves a large and varied word list,
-some of which may be considered inappropriate for children.
-You can edit the file containing the word list if you wish
-to remove words from your game. The location of this file varies by platform.
+The game provides a hint option for times when you are stuck, and features an
+online word lookup that fetches the definitions of each word from www.dict.org.
+Your current progress is automatically saved.
+
+Note that this game involves a large and varied word list, some of which may be
+considered inappropriate for children. You can edit the file containing the
+word list if you wish to remove words from your game. The location of this file
+varies by platform.
WWW: http://gottcode.org/connectagram/
diff --git a/games/connectagram/pkg-plist b/games/connectagram/pkg-plist
index 43aeb503a84b..4f5c3748d987 100644
--- a/games/connectagram/pkg-plist
+++ b/games/connectagram/pkg-plist
@@ -1,11 +1,52 @@
bin/connectagram
+icons/hicolor/128x128/apps/connectagram.png
+icons/hicolor/16x16/apps/connectagram.png
+icons/hicolor/22x22/apps/connectagram.png
+icons/hicolor/24x24/apps/connectagram.png
+icons/hicolor/256x256/apps/connectagram.png
+icons/hicolor/32x32/apps/connectagram.png
+icons/hicolor/48x48/apps/connectagram.png
+icons/hicolor/64x64/apps/connectagram.png
+icons/hicolor/scalable/apps/connectagram.svg
share/applications/connectagram.desktop
-share/connectagram/words
-share/icons/hicolor/48x48/apps/connectagram.png
+%%DATADIR%%/data/en/words
+%%DATADIR%%/data/fr/words
+%%DATADIR%%/patterns/0.png
+%%DATADIR%%/patterns/1.png
+%%DATADIR%%/patterns/2.png
+%%DATADIR%%/patterns/3.png
+%%DATADIR%%/patterns/4.png
+%%DATADIR%%/patterns/5.png
+%%DATADIR%%/translations/connectagram_en.qm
+%%DATADIR%%/translations/connectagram_fr.qm
+%%DATADIR%%/translations/connectagram_ro.qm
+%%DATADIR%%/translations/connectagram_ru.qm
share/pixmaps/connectagram.png
-@dirrmtry share/icons/hicolor/48x48/apps
-@dirrmtry share/icons/hicolor/48x48
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons
-@dirrm share/connectagram
+share/pixmaps/connectagram.xpm
+@dirrm %%DATADIR%%/translations
+@dirrm %%DATADIR%%/patterns
+@dirrm %%DATADIR%%/data/fr
+@dirrm %%DATADIR%%/data/en
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%
@dirrmtry share/applications
+@dirrmtry icons/hicolor/scalable/apps
+@dirrmtry icons/hicolor/scalable
+@dirrmtry icons/hicolor/64x64/apps
+@dirrmtry icons/hicolor/64x64
+@dirrmtry icons/hicolor/48x48/apps
+@dirrmtry icons/hicolor/48x48
+@dirrmtry icons/hicolor/32x32/apps
+@dirrmtry icons/hicolor/32x32
+@dirrmtry icons/hicolor/256x256/apps
+@dirrmtry icons/hicolor/256x256
+@dirrmtry icons/hicolor/24x24/apps
+@dirrmtry icons/hicolor/24x24
+@dirrmtry icons/hicolor/22x22/apps
+@dirrmtry icons/hicolor/22x22
+@dirrmtry icons/hicolor/16x16/apps
+@dirrmtry icons/hicolor/16x16
+@dirrmtry icons/hicolor/128x128/apps
+@dirrmtry icons/hicolor/128x128
+@dirrmtry icons/hicolor
+@dirrmtry icons