aboutsummaryrefslogtreecommitdiff
path: root/games/bubble-chains
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-05-10 19:02:10 +0000
committerChris Rees <crees@FreeBSD.org>2012-05-10 19:02:10 +0000
commit631ad12edaf54e535b977b8dd6a1a8120626da40 (patch)
treee8136a059991e282429e215f6291274fd300d247 /games/bubble-chains
parent85c9d7cf2082757fd23fd059b88192b7e08e4e0a (diff)
downloadports-631ad12edaf54e535b977b8dd6a1a8120626da40.tar.gz
ports-631ad12edaf54e535b977b8dd6a1a8120626da40.zip
Notes
Diffstat (limited to 'games/bubble-chains')
-rw-r--r--games/bubble-chains/Makefile26
-rw-r--r--games/bubble-chains/pkg-plist4
2 files changed, 16 insertions, 14 deletions
diff --git a/games/bubble-chains/Makefile b/games/bubble-chains/Makefile
index c77865ca9cf3..6cda5ce75848 100644
--- a/games/bubble-chains/Makefile
+++ b/games/bubble-chains/Makefile
@@ -1,15 +1,16 @@
# New ports collection makefile for: bubble-chains
-# Date created: 21 April 2012
+# Date created: 2012-04-21
# Whom: nemysis@gmx.ch
#
# $FreeBSD$
#
-PORTNAME= chains
+PORTNAME= bubble-chains
PORTVERSION= 0.1.1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://bubble-chains.sintegrial.com/files/
-PKGNAMEPREFIX= bubble-
+DISTNAME= chains-${DISTVERSION}
EXTRACT_SUFX= -src.7z
MAINTAINER= nemysis@gmx.ch
@@ -20,7 +21,7 @@ LICENSE= GPLv2
EXTRACT_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
BUILD_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
+WRKSRC= ${WRKDIR}/chains-${PORTVERSION}-src
USE_SDL= sdl image mixer
USE_GL= glut glew glu
@@ -33,6 +34,11 @@ USE_GMAKE= yes
CONFIGURE_ENV+= UIC="${UIC}" QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}"
MAKE_ENV+= QMAKESPEC="${QMAKESPEC}"
+PLIST_FILES= bin/bubble-chains \
+ share/pixmaps/bubble-chains.ico \
+ share/pixmaps/bubble-chains.png
+PLIST_DIRSTRY= share/applications
+
PORTDATA= *
PORTDOCS= README
@@ -54,17 +60,17 @@ do-configure:
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX} ${WRKSRC}/Game.pro
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/chains ${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/images/logo.png \
- ${PREFIX}/share/pixmaps/bubble-chains.png
+ ${PREFIX}/share/pixmaps/${PORTNAME}.png
${INSTALL_DATA} ${WRKSRC}/icon.ico \
- ${PREFIX}/share/pixmaps/bubble-chains.ico
+ ${PREFIX}/share/pixmaps/${PORTNAME}.ico
+
.if !defined (NOPORTDATA)
${MKDIR} ${DATADIR}
-. for d in data
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
-. endfor
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR})
.endif
+
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
diff --git a/games/bubble-chains/pkg-plist b/games/bubble-chains/pkg-plist
deleted file mode 100644
index 4f981612e5d3..000000000000
--- a/games/bubble-chains/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/chains
-share/pixmaps/bubble-chains.ico
-share/pixmaps/bubble-chains.png
-@dirrm share/applications