From owner-svn-ports-head@FreeBSD.ORG Mon Nov 17 19:26:45 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E9EB73A; Mon, 17 Nov 2014 19:26:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EF6BC966; Mon, 17 Nov 2014 19:26:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sAHJQiYR028265; Mon, 17 Nov 2014 19:26:44 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sAHJQid0028264; Mon, 17 Nov 2014 19:26:44 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201411171926.sAHJQid0028264@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 17 Nov 2014 19:26:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372681 - head/games/lpairs X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 19:26:45 -0000 Author: amdmi3 Date: Mon Nov 17 19:26:44 2014 New Revision: 372681 URL: https://svnweb.freebsd.org/changeset/ports/372681 QAT: https://qat.redports.org/buildarchive/r372681/ Log: - Add LICENSE - Use new OPTIONS features Modified: head/games/lpairs/Makefile Modified: head/games/lpairs/Makefile ============================================================================== --- head/games/lpairs/Makefile Mon Nov 17 19:08:44 2014 (r372680) +++ head/games/lpairs/Makefile Mon Nov 17 19:26:44 2014 (r372681) @@ -10,6 +10,9 @@ MASTER_SITES= SF/lgames/${PORTNAME}/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Classical memory game +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING + GNU_CONFIGURE= yes USE_SDL= sdl CPPFLAGS+= -I${LOCALBASE}/include @@ -19,16 +22,10 @@ PLIST_FILES= bin/${PORTNAME} PORTDATA= * OPTIONS_DEFINE= NLS - -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} -PLIST_FILES+= share/locale/de/LC_MESSAGES/lpairs.mo -.else -CONFIGURE_ARGS+=--disable-nls -.endif +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}|' \