svn commit: r304400 - head/games/connectagram
Jason E. Hale
jhale at FreeBSD.org
Mon Sep 17 14:23:31 UTC 2012
Author: jhale
Date: Mon Sep 17 14:23:30 2012
New Revision: 304400
URL: http://svn.freebsd.org/changeset/ports/304400
Log:
- Clean up Makefile
- Respect PREFIX
- Install pixmaps
- Convert to pkg-plist
PR: ports/171359
Submitted by: nemysis <nemysis at gmx dot ch> (maintainer)
Approved by: makc (mentor)
Added:
head/games/connectagram/pkg-plist (contents, props changed)
Modified:
head/games/connectagram/Makefile
Modified: head/games/connectagram/Makefile
==============================================================================
--- head/games/connectagram/Makefile Mon Sep 17 14:22:56 2012 (r304399)
+++ head/games/connectagram/Makefile Mon Sep 17 14:23:30 2012 (r304400)
@@ -7,51 +7,37 @@
PORTNAME= connectagram
PORTVERSION= 1.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
-DISTNAME= ${PORTNAME}-${DISTVERSION}-src
+EXTRACT_SUFX= -src.tar.bz2
MAINTAINER= nemysis at gmx.ch
COMMENT= Word unscrambling game
LICENSE= GPLv3
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
USE_BZIP2= yes
-USE_QT_VER= 4
-QT_COMPONENTS= moc_build qmake_build rcc_build corelib gui iconengines imageformats network
+USE_QT4= moc_build qmake_build rcc_build gui network
INSTALLS_ICONS= yes
-
MAKE_JOBS_SAFE= yes
-PORTDATA= *
PORTDOCS= ChangeLog
-PLIST_FILES= bin/${PORTNAME} \
- share/applications/${PORTNAME}.desktop \
- share/icons/hicolor/48x48/apps/${PORTNAME}.png
-
-PLIST_DIRSTRY= share/icons/hicolor/48x48/apps \
- share/icons/hicolor/48x48 \
- share/icons/hicolor \
- share/icons \
- share/applications
+.include <bsd.port.options.mk>
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS}
-
-.include <bsd.port.options.mk>
+ ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
post-install:
+# Pixmaps
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+
# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
Added: head/games/connectagram/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/connectagram/pkg-plist Mon Sep 17 14:23:30 2012 (r304400)
@@ -0,0 +1,11 @@
+bin/connectagram
+share/applications/connectagram.desktop
+share/connectagram/words
+share/icons/hicolor/48x48/apps/connectagram.png
+share/pixmaps/connectagram.png
+ at dirrmtry share/icons/hicolor/48x48/apps
+ at dirrmtry share/icons/hicolor/48x48
+ at dirrmtry share/icons/hicolor
+ at dirrmtry share/icons
+ at dirrm share/connectagram
+ at dirrmtry share/applications
More information about the svn-ports-all
mailing list