aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-05-12 02:34:57 +0800
committermat <mat@FreeBSD.org>2015-05-12 02:34:57 +0800
commitd843ecd4966c8a5bed60cf3aaeb27edb6b5b2389 (patch)
tree634e1ef4990207301493f26b46d80abe56b9f2b3 /misc
parent925f5606448b4e40652ba0a13bfb8cd44c8aac89 (diff)
downloadfreebsd-ports-gnome-d843ecd4966c8a5bed60cf3aaeb27edb6b5b2389.tar.gz
freebsd-ports-gnome-d843ecd4966c8a5bed60cf3aaeb27edb6b5b2389.tar.zst
freebsd-ports-gnome-d843ecd4966c8a5bed60cf3aaeb27edb6b5b2389.zip
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
Diffstat (limited to 'misc')
-rw-r--r--misc/bb/Makefile5
-rw-r--r--misc/exercism/Makefile7
-rw-r--r--misc/exercism/distinfo4
-rw-r--r--misc/explosions/Makefile7
-rw-r--r--misc/p5-Geo-Coder-Many/Makefile2
5 files changed, 13 insertions, 12 deletions
diff --git a/misc/bb/Makefile b/misc/bb/Makefile
index 0964021b9fa8..e80c5a47aa76 100644
--- a/misc/bb/Makefile
+++ b/misc/bb/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= bb
-PORTVERSION= 1.3.r1
+DISTVERSION= 1.3rc1
PORTREVISION= 2
CATEGORIES= misc
-MASTER_SITES= SF/aa-project/${PORTNAME}/1.3rc1
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
+MASTER_SITES= SF/aa-project/${PORTNAME}/${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= High quality audio-visual demonstration for text terminal
diff --git a/misc/exercism/Makefile b/misc/exercism/Makefile
index 0da4d5dced7d..77abc62f4f36 100644
--- a/misc/exercism/Makefile
+++ b/misc/exercism/Makefile
@@ -3,10 +3,11 @@
PORTNAME= exercism
PORTVERSION= 1.7.1
+DISTVERSIONPREFIX= v
CATEGORIES= misc
-MASTER_SITES= https://github.com/${PORTNAME}/cli/archive/v${PORTVERSION}.tar.gz?dummy=/:group1 \
+MASTER_SITES= \
https://codeload.github.com/codegangsta/cli/legacy.tar.gz/f7ebb76?dummy=/:group2
-DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:group1 \
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
codegansta-cli-f7ebb76${EXTRACT_SUFX}:group2
MAINTAINER= swills@FreeBSD.org
@@ -15,6 +16,8 @@ COMMENT= CLI client for exercism.io
BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
WRKSRC= ${WRKDIR}/cli-${PORTVERSION}
+USE_GITHUB= yes
+GH_PROJECT= cli
PLIST_FILES= bin/exercism
diff --git a/misc/exercism/distinfo b/misc/exercism/distinfo
index 61fc728fc92e..ae86d45d3bf7 100644
--- a/misc/exercism/distinfo
+++ b/misc/exercism/distinfo
@@ -1,4 +1,4 @@
-SHA256 (exercism-1.7.1.tar.gz) = 47357e762f80797071311c6057724ad7b315cd5b11b9dd751fe68012e5db38b4
-SIZE (exercism-1.7.1.tar.gz) = 11877
+SHA256 (exercism-cli-v1.7.1_GH0.tar.gz) = 47357e762f80797071311c6057724ad7b315cd5b11b9dd751fe68012e5db38b4
+SIZE (exercism-cli-v1.7.1_GH0.tar.gz) = 11877
SHA256 (codegansta-cli-f7ebb76.tar.gz) = 216232029c7f391a9312493f4a2b66b2fffa8f4fcee5104bfff7847d5683ee6e
SIZE (codegansta-cli-f7ebb76.tar.gz) = 15185
diff --git a/misc/explosions/Makefile b/misc/explosions/Makefile
index d6217ea7224c..d6972438f869 100644
--- a/misc/explosions/Makefile
+++ b/misc/explosions/Makefile
@@ -7,17 +7,16 @@ PORTREVISION= 16
CATEGORIES= misc
MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/${PORTNAME}/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
-DISTFILES= ${PORTNAME}-${PORTVERSION:S/^0.//}${EXTRACT_SUFX} \
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/^0.//}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
-EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION:S/^0.//}${EXTRACT_SUFX}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D objects flying around resembling explosions with various effects
LICENSE= GPLv2
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/^0.//}
-
USES= gmake perl5
USE_PERL5= build
USE_SDL= sdl image
diff --git a/misc/p5-Geo-Coder-Many/Makefile b/misc/p5-Geo-Coder-Many/Makefile
index 104727868807..6f23141270a0 100644
--- a/misc/p5-Geo-Coder-Many/Makefile
+++ b/misc/p5-Geo-Coder-Many/Makefile
@@ -3,11 +3,11 @@
PORTNAME= Geo-Coder-Many
PORTVERSION= 0.46
+DISTVERSIONSUFFIX= -5
PORTREVISION= 1
CATEGORIES= misc geography perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-${PORTVERSION}-5
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Module to tie together multiple Geo::Coder::* modules