From 88bfe4bd43787219ab4de75bd68c490c98776dfc Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Mon, 11 May 2015 18:34:57 +0000 Subject: Cleanup DIST* variables. When appropriate: - Try to use DISTVERSION{SUF,PRE}FIX - Replace PORTNAME-PORTVERSION by DISTNAME - Convert MASTER_SITES to use macros - Other light cleanup With hat: portmgr Sponsored by: Absolight --- math/jakarta-commons-math3/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'math/jakarta-commons-math3') diff --git a/math/jakarta-commons-math3/Makefile b/math/jakarta-commons-math3/Makefile index 119d84a5b066..4fbd46f06cb4 100644 --- a/math/jakarta-commons-math3/Makefile +++ b/math/jakarta-commons-math3/Makefile @@ -4,21 +4,19 @@ PORTNAME= commons-math3 PORTVERSION= 3.3 CATEGORIES= math java -MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_SOURCE}/:source1 \ +MASTER_SITES= APACHE_COMMONS_SOURCE \ http://repo1.maven.org/maven2/junit/junit/4.8.2/:source2 -MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-math3,math,}/:source1 PKGNAMEPREFIX= jakarta- -DISTFILES= ${PORTNAME}-${PORTVERSION}-src.tar.gz:source1 \ +DISTNAME= ${PORTNAME}-${PORTVERSION}-src +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ junit-4.8.2.jar:source2 -EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}-src.tar.gz +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= bofh@FreeBSD.org COMMENT= Java library of self-contained mathematics and statistics components LICENSE= APACHE20 -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src - USE_JAVA= yes JAVA_VERSION= 1.6+ USE_ANT= yes -- cgit v1.2.3