Date: Mon, 17 Sep 2012 14:23:31 +0000 (UTC) From: "Jason E. Hale" <jhale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r304400 - head/games/connectagram Message-ID: <201209171423.q8HENVsZ034915@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 +@dirrmtry share/icons/hicolor/48x48/apps +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons +@dirrm share/connectagram +@dirrmtry share/applications
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209171423.q8HENVsZ034915>