diff options
author | crees <crees@FreeBSD.org> | 2012-05-11 03:02:10 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-05-11 03:02:10 +0800 |
commit | f3032d7659905300615337f530f41b590e06ab43 (patch) | |
tree | 01ac66492e5dcbe67986a755a7e5a18a3d4b9e89 /games | |
parent | d172984934d341a5403bccbf3422ec3c722577df (diff) | |
download | freebsd-ports-gnome-f3032d7659905300615337f530f41b590e06ab43.tar.gz freebsd-ports-gnome-f3032d7659905300615337f530f41b590e06ab43.tar.zst freebsd-ports-gnome-f3032d7659905300615337f530f41b590e06ab43.zip |
- De-pkg-plist
- Install as bin/bubble-chains, rather than bin/chains
PR: ports/167777
Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
- Stop using PKGNAMEPREFIX and just stick it in PORTNAME;
hyphen is no problem here
Approved by: maintainer
Diffstat (limited to 'games')
-rw-r--r-- | games/bubble-chains/Makefile | 26 | ||||
-rw-r--r-- | games/bubble-chains/pkg-plist | 4 |
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 |