From owner-svn-ports-head@FreeBSD.ORG Thu Mar 27 15:31:46 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA27276; Thu, 27 Mar 2014 15:31:46 +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 ACD7EE73; Thu, 27 Mar 2014 15:31:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2RFVkIO043824; Thu, 27 Mar 2014 15:31:46 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2RFVkKU043823; Thu, 27 Mar 2014 15:31:46 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201403271531.s2RFVkKU043823@svn.freebsd.org> From: Alexey Dokuchaev Date: Thu, 27 Mar 2014 15:31:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349341 - head/games/doomlegacy 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.17 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: Thu, 27 Mar 2014 15:31:46 -0000 Author: danfe Date: Thu Mar 27 15:31:46 2014 New Revision: 349341 URL: http://svnweb.freebsd.org/changeset/ports/349341 QAT: https://qat.redports.org/buildarchive/r349341/ Log: Add an option to disable IPX support. Given that IPX was removed in SRC r263140, conditionalize on exists(/usr/include/netipx/ipx.h), and disable it by default (thus bump PORTREVISION). While here, stagify the port. PR: ports/186966 Submitted by: swills Modified: head/games/doomlegacy/Makefile Modified: head/games/doomlegacy/Makefile ============================================================================== --- head/games/doomlegacy/Makefile Thu Mar 27 15:04:15 2014 (r349340) +++ head/games/doomlegacy/Makefile Thu Mar 27 15:31:46 2014 (r349341) @@ -3,12 +3,13 @@ PORTNAME= doomlegacy DISTVERSION= 1.44_alpha4 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= games MASTER_SITES= http://doomlegacy.sourceforge.net/releases/ \ http://freebsd.nsu.ru/distfiles/:wad DISTNAME= ${PORTNAME}_${DISTVERSION}_src_r${SVN_REV} -# legacy.wad is not provided by upstream and must be regenerated manually +# legacy.wad is not included in distfile and must be regenerated manually # when needed (its contents change); luckily, it doesn't happen too often DISTFILES= ${DISTNAME}${EXTRACT_SUFX} legacy_wad${EXTRACT_SUFX}:wad DIST_SUBDIR= ${PORTNAME} @@ -33,14 +34,16 @@ SVN_REV= 999 OPTIONS_DEFINE= DOCS OPTIONS_DEFINE_i386= ASM -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MASM} -BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm -MAKE_ENV= USEASM=1 OLD_DEPENDENCIES=1 +.if exists(/usr/include/netipx/ipx.h) +OPTIONS_DEFINE+= IPX +IPX_DESC= IPX protocol support .endif +ASM_BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm +ASM_MAKE_ENV= USEASM=1 OLD_DEPENDENCIES=1 + +.include + post-patch: .SILENT ${REINPLACE_CMD} -e 's|