Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2013 08:56:07 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325948 - in head: devel/hp48xgcc devel/plan9port games/yadex
Message-ID:  <201309020856.r828u7E0004356@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Mon Sep  2 08:56:06 2013
New Revision: 325948
URL: http://svnweb.freebsd.org/changeset/ports/325948

Log:
  - Convert old-school USE_GMAKE and USE_PERL5_* to modern USES
  - Perform some minor cleanups whenever appropriate
  
  Submitted by:	az

Modified:
  head/devel/hp48xgcc/Makefile
  head/devel/plan9port/Makefile
  head/games/yadex/Makefile

Modified: head/devel/hp48xgcc/Makefile
==============================================================================
--- head/devel/hp48xgcc/Makefile	Mon Sep  2 07:47:38 2013	(r325947)
+++ head/devel/hp48xgcc/Makefile	Mon Sep  2 08:56:06 2013	(r325948)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	HP48-xgcc
-# Date created:				20 Feb 2006
-# Whom:					Alexey Dokuchaev <danfe@FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	hp48xgcc
 PORTVERSION=	1.0.2
@@ -22,10 +18,11 @@ COMMENT=	GNU C cross-compiler for HP48 c
 
 LICENSE=	GPLv2
 
-ONLY_FOR_ARCHS=		i386
-USE_GMAKE=		yes
-USE_PERL5_BUILD=	yes
-USE_ZIP=		yes
+ONLY_FOR_ARCHS=	i386
+
+USES=		gmake perl5
+USE_PERL5=	build
+USE_ZIP=	yes
 
 GCC_VER=	2.7.2
 GCC_DIR=	${WRKDIR}/gcc-${GCC_VER}

Modified: head/devel/plan9port/Makefile
==============================================================================
--- head/devel/plan9port/Makefile	Mon Sep  2 07:47:38 2013	(r325947)
+++ head/devel/plan9port/Makefile	Mon Sep  2 08:56:06 2013	(r325948)
@@ -15,8 +15,9 @@ LICENSE_NAME=	Lucent Public License Vers
 LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
+USES=		perl5
+USE_PERL5=	build
 USE_XORG=	x11 xt xi xaw
-USE_PERL5_BUILD=yes
 WRKSRC=		${WRKDIR}/plan9
 PLIST=		${WRKDIR}/.PLIST
 SUB_FILES=	pkg-message
@@ -103,7 +104,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|/lib/font/bit|${PLAN9}/font|' \
 		${WRKSRC}/src/cmd/acme/acme.c
 	@${SED} -e 's|util\.h|lib&|' ${WRKSRC}/src/cmd/9term/OpenBSD.c \
-		> ${WRKSRC}/src/cmd/9term/FreeBSD.c
+		> ${WRKSRC}/src/cmd/9term/${OPSYS}.c
 
 do-build:
 	cd ${WRKSRC} && ./INSTALL

Modified: head/games/yadex/Makefile
==============================================================================
--- head/games/yadex/Makefile	Mon Sep  2 07:47:38 2013	(r325947)
+++ head/games/yadex/Makefile	Mon Sep  2 08:56:06 2013	(r325948)
@@ -13,10 +13,10 @@ COMMENT=	WAD file editor, for games like
 
 LICENSE=	GPLv2
 
+USES=		gmake perl5
 HAS_CONFIGURE=	yes
 CONFIGURE_ENV=	CC="${CC}" CXX="${CXX}" PREFIX="${PREFIX}"
-USE_GMAKE=	yes
-USE_PERL5_BUILD=yes
+USE_PERL5=	build
 USE_XORG=	x11
 MAKEFILE=	GNUmakefile
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309020856.r828u7E0004356>