From owner-svn-ports-all@freebsd.org Mon Dec 3 20:37:14 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46A5A130B39F; Mon, 3 Dec 2018 20:37:14 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E01D86DED8; Mon, 3 Dec 2018 20:37:13 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BCC0C1B031; Mon, 3 Dec 2018 20:37:13 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB3KbDc9000757; Mon, 3 Dec 2018 20:37:13 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB3KbCAR000753; Mon, 3 Dec 2018 20:37:12 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201812032037.wB3KbCAR000753@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 3 Dec 2018 20:37:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486552 - in head/games/lpairs: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games/lpairs: . files X-SVN-Commit-Revision: 486552 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E01D86DED8 X-Spamd-Result: default: False [0.02 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-0.34)[-0.338,0]; NEURAL_SPAM_SHORT(0.31)[0.310,0]; NEURAL_SPAM_LONG(0.05)[0.050,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2018 20:37:14 -0000 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 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