Date: Mon, 3 Dec 2018 20:37:12 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486552 - in head/games/lpairs: . files Message-ID: <201812032037.wB3KbCAR000753@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Dec 3 20:37:12 2018 New Revision: 486552 URL: https://svnweb.freebsd.org/changeset/ports/486552 Log: - Update to 1.0.5 - Add desktop entry - Simplify the port Added: head/games/lpairs/files/patch-lpairs_Makefile.am (contents, props changed) head/games/lpairs/pkg-plist (contents, props changed) Deleted: head/games/lpairs/files/patch-lpairs-pairs.h head/games/lpairs/files/patch-lpairs-sdl.h Modified: head/games/lpairs/Makefile head/games/lpairs/distinfo Modified: head/games/lpairs/Makefile ============================================================================== --- head/games/lpairs/Makefile Mon Dec 3 20:03:02 2018 (r486551) +++ head/games/lpairs/Makefile Mon Dec 3 20:37:12 2018 (r486552) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= lpairs -PORTVERSION= 1.0.4 -PORTREVISION= 4 +PORTVERSION= 1.0.5 CATEGORIES= games MASTER_SITES= SF/lgames/${PORTNAME}/ @@ -13,24 +12,29 @@ COMMENT= Classical memory game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +USES= autoreconf GNU_CONFIGURE= yes USE_SDL= sdl -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES= bin/${PORTNAME} PORTDATA= * +DESKTOP_ENTRIES="LPairs" \ + "" \ + "${PORTNAME}" \ + "${PORTNAME}" \ + "Game;LogicGame;" \ + "" + OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls -NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} -NLS_PLIST_FILES= share/locale/de/LC_MESSAGES/lpairs.mo post-patch: - @${REINPLACE_CMD} -e '/^LIBS =/ s|$$| $${INTLLIBS}|' \ - ${WRKSRC}/lpairs/Makefile.in - @${REINPLACE_CMD} -e 's|^\(inst_dir=\).*|\1$$datarootdir/lpairs|' \ - ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|games/lpairs|lpairs|' ${WRKSRC}/configure.in + +post-install: + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps .include <bsd.port.mk> Modified: head/games/lpairs/distinfo ============================================================================== --- head/games/lpairs/distinfo Mon Dec 3 20:03:02 2018 (r486551) +++ head/games/lpairs/distinfo Mon Dec 3 20:37:12 2018 (r486552) @@ -1,2 +1,3 @@ -SHA256 (lpairs-1.0.4.tar.gz) = 350237a51a5de6b2a557af687b4f16678056a0e8d8d96d7e395f6629481462c5 -SIZE (lpairs-1.0.4.tar.gz) = 536625 +TIMESTAMP = 1542651898 +SHA256 (lpairs-1.0.5.tar.gz) = 57afe33d2a83229c3cff5efa6512fd2eeac4eacb92d37dd3070db6bbb024dc16 +SIZE (lpairs-1.0.5.tar.gz) = 557997 Added: head/games/lpairs/files/patch-lpairs_Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/lpairs/files/patch-lpairs_Makefile.am Mon Dec 3 20:37:12 2018 (r486552) @@ -0,0 +1,13 @@ +--- lpairs/Makefile.am.orig 2018-11-02 16:43:54 UTC ++++ lpairs/Makefile.am +@@ -6,6 +6,10 @@ DEFS = @DEFS@ @inst_flag@ @sound_flag@ @ + bin_PROGRAMS = lpairs + lpairs_SOURCES = main.c pairs.c dynlist.c sdl.c cfg.c menu.c sndsrv.c + ++lpairs_LDADD = \ ++ $(INTLLIBS) ++ ++ + #source + EXTRA_DIST = main.c pairs.c dynlist.c sdl.c cfg.c menu.c sndsrv.c \ + pairs.h dynlist.h sdl.h cfg.h menu.h sndsrv.h gettext.h \ Added: head/games/lpairs/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/lpairs/pkg-plist Mon Dec 3 20:37:12 2018 (r486552) @@ -0,0 +1,3 @@ +bin/lpairs +%%NLS%%share/locale/de/LC_MESSAGES/lpairs.mo +share/pixmaps/lpairs.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812032037.wB3KbCAR000753>