summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-09-02 08:56:06 +0000
committerdanfe <danfe@FreeBSD.org>2013-09-02 08:56:06 +0000
commitd6e52e79e24814279a8069599ed2ea2efeab1d53 (patch)
treedaa257d642070b03932adbb528a289fcab6f121f
parentb6204c05e676b9a800d3cfc20e92764ab1843f39 (diff)
downloadFreeBSD-ports-d6e52e79e24814279a8069599ed2ea2efeab1d53.zip
FreeBSD-ports-d6e52e79e24814279a8069599ed2ea2efeab1d53.tar.gz
- Convert old-school USE_GMAKE and USE_PERL5_* to modern USES
- Perform some minor cleanups whenever appropriate Submitted by: az
-rw-r--r--devel/hp48xgcc/Makefile15
-rw-r--r--devel/plan9port/Makefile5
-rw-r--r--games/yadex/Makefile4
3 files changed, 11 insertions, 13 deletions
diff --git a/devel/hp48xgcc/Makefile b/devel/hp48xgcc/Makefile
index 26fb16a..516544f 100644
--- a/devel/hp48xgcc/Makefile
+++ b/devel/hp48xgcc/Makefile
@@ -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 calculators
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}
diff --git a/devel/plan9port/Makefile b/devel/plan9port/Makefile
index 97d302a..ebf19a0 100644
--- a/devel/plan9port/Makefile
+++ b/devel/plan9port/Makefile
@@ -15,8 +15,9 @@ LICENSE_NAME= Lucent Public License Version 1.02
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
diff --git a/games/yadex/Makefile b/games/yadex/Makefile
index 2dcc519..f80641d 100644
--- a/games/yadex/Makefile
+++ b/games/yadex/Makefile
@@ -13,10 +13,10 @@ COMMENT= WAD file editor, for games like Doom and Hexen
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
OpenPOWER on IntegriCloud