ports/171359: [MAINTAINER] games/connectagram: Makefile simplified
nemysis
nemysis at gmx.ch
Sat Sep 8 09:50:13 UTC 2012
The following reply was made to PR ports/171359; it has been noted by GNATS.
From: nemysis <nemysis at gmx.ch>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/171359: [MAINTAINER] games/connectagram: Makefile
simplified
Date: Sat, 8 Sep 2012 11:48:49 +0200
--Sig_/3=aYrlmfvL0Np4SlwYWFxTf
Content-Type: multipart/mixed; boundary="MP_/dlwbzdPQ+6RidEe2KjJLQ6O"
--MP_/dlwbzdPQ+6RidEe2KjJLQ6O
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
--MP_/dlwbzdPQ+6RidEe2KjJLQ6O
Content-Type: text/x-patch
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=connectagram.diff
=3D=3D=3D> Generating patch
=3D=3D=3D> Viewing diff with more
diff -ruN --exclude=3DCVS /usr/ports/games/connectagram/Makefile ./Makefile
--- /usr/ports/games/connectagram/Makefile 2012-08-20 18:23:55.000000000 +0=
200
+++ ./Makefile 2012-09-08 11:42:03.000000000 +0200
@@ -10,48 +10,35 @@
PORTREVISION=3D 1
CATEGORIES=3D games
MASTER_SITES=3D http://gottcode.org/${PORTNAME}/
-DISTNAME=3D ${PORTNAME}-${DISTVERSION}-src
+EXTRACT_SUFX=3D -src.tar.bz2
=20
MAINTAINER=3D nemysis at gmx.ch
COMMENT=3D Word unscrambling game
=20
LICENSE=3D GPLv3
=20
-WRKSRC=3D ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
USE_BZIP2=3D yes
-USE_QT_VER=3D 4
-QT_COMPONENTS=3D moc_build qmake_build rcc_build corelib gui iconengines i=
mageformats network
+USE_QT4=3D moc_build qmake_build rcc_build corelib gui iconengines imagefo=
rmats network
INSTALLS_ICONS=3D yes
-
MAKE_JOBS_SAFE=3D yes
=20
PORTDATA=3D *
PORTDOCS=3D ChangeLog
=20
-PLIST_FILES=3D bin/${PORTNAME} \
- share/applications/${PORTNAME}.desktop \
- share/icons/hicolor/48x48/apps/${PORTNAME}.png
-
-PLIST_DIRSTRY=3D share/icons/hicolor/48x48/apps \
- share/icons/hicolor/48x48 \
- share/icons/hicolor \
- share/icons \
- share/applications
+.include <bsd.port.options.mk>
=20
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS}
-
-.include <bsd.port.options.mk>
+ ${QMAKE} ${QMAKEFLAGS} PREFIX=3D${PREFIX}
=20
post-install:
+# Pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+
# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif
=20
.include <bsd.port.mk>
diff -ruN --exclude=3DCVS /usr/ports/games/connectagram/pkg-plist ./pkg-pli=
st
--- /usr/ports/games/connectagram/pkg-plist 1970-01-01 01:00:00.000000000 +=
0100
+++ ./pkg-plist 2012-09-08 11:44:12.000000000 +0200
@@ -0,0 +1,9 @@
+bin/connectagram
+share/applications/connectagram.desktop
+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 dirrmtry share/applications
=3D=3D=3D> Done
--MP_/dlwbzdPQ+6RidEe2KjJLQ6O--
--Sig_/3=aYrlmfvL0Np4SlwYWFxTf
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iF4EAREIAAYFAlBLFIEACgkQSY5SjAQUAPtJiwD+PW+t95ZAKOr4SGtpa9Wz1lA1
5JD81GBKjnMWNYTt+aYA/3PAOBc2PmM0LE28wwv2vi3jHob5HJcJTcrSoqHdROfW
=CnUh
-----END PGP SIGNATURE-----
--Sig_/3=aYrlmfvL0Np4SlwYWFxTf--
More information about the freebsd-ports-bugs
mailing list