From owner-svn-ports-all@FreeBSD.ORG Sun Nov 3 01:50:13 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E2E9CB3A; Sun, 3 Nov 2013 01:50:13 +0000 (UTC) (envelope-from danilo@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B71F92457; Sun, 3 Nov 2013 01:50:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA31oDc4039973; Sun, 3 Nov 2013 01:50:13 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA31oDpL039971; Sun, 3 Nov 2013 01:50:13 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311030150.rA31oDpL039971@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Sun, 3 Nov 2013 01:50:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332574 - head/games/lincity X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 03 Nov 2013 01:50:14 -0000 Author: danilo Date: Sun Nov 3 01:50:12 2013 New Revision: 332574 URL: http://svnweb.freebsd.org/changeset/ports/332574 Log: - Add stage support - Convert LIB_DEPENDS to new syntax - Use options helpers Modified: head/games/lincity/Makefile head/games/lincity/pkg-plist Modified: head/games/lincity/Makefile ============================================================================== --- head/games/lincity/Makefile Sun Nov 3 01:25:36 2013 (r332573) +++ head/games/lincity/Makefile Sun Nov 3 01:50:12 2013 (r332574) @@ -10,36 +10,30 @@ MASTER_SITES= SF/${PORTNAME}/Lincity%20D MAINTAINER= ports@FreeBSD.org COMMENT= Rich city simulation game for X -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png USES= gmake GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAN6= lincity.6 +OPTIONS_DEFINE= NLS SVGALIB +OPTIONS_SUB= yes -OPTIONS_DEFINE= SVGALIB NLS +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext + +SVGALIB_LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib +SVGALIB_CONFIGURE_ON= --without-x +SVGALIB_CONFIGURE_OFF= --without-svga -NO_STAGE= yes .include .if ${PORT_OPTIONS:MSVGALIB} -LIB_DEPENDS+= vga:${PORTSDIR}/graphics/svgalib -CONFIGURE_ARGS+= --without-x -PLIST_SUB= PROG="bin/lincity" +PLIST_SUB+= PROG="bin/lincity" .else USE_XORG= sm xext -CONFIGURE_ARGS+= --without-svga -PLIST_SUB= PROG="bin/xlincity" -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " +PLIST_SUB+= PROG="bin/xlincity" .endif pre-configure: Modified: head/games/lincity/pkg-plist ============================================================================== --- head/games/lincity/pkg-plist Sun Nov 3 01:25:36 2013 (r332573) +++ head/games/lincity/pkg-plist Sun Nov 3 01:50:12 2013 (r332574) @@ -1,4 +1,5 @@ %%PROG%% +man/man6/lincity.6.gz %%DATADIR%%/colour.pal %%DATADIR%%/help/ask-dir.hlp %%DATADIR%%/help/blacksmith.hlp