aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
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 /ports-mgmt
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 'ports-mgmt')
-rw-r--r--ports-mgmt/dialog4ports/Makefile2
-rw-r--r--ports-mgmt/fastest_sites/Makefile5
2 files changed, 3 insertions, 4 deletions
diff --git a/ports-mgmt/dialog4ports/Makefile b/ports-mgmt/dialog4ports/Makefile
index 57273cf748ba..3735021ae95a 100644
--- a/ports-mgmt/dialog4ports/Makefile
+++ b/ports-mgmt/dialog4ports/Makefile
@@ -42,7 +42,7 @@ DIALOG4PORTS= ${WRKSRC}/dialog4ports
.endif
.if ${OSVERSION} < 900030 || defined(D4P_SLAVE)
-DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DIALOGNAME}.tgz:dialog
DIALOGNAME= dialog-1.1-20120706
diff --git a/ports-mgmt/fastest_sites/Makefile b/ports-mgmt/fastest_sites/Makefile
index 42a6b0a4994b..86c3c492a898 100644
--- a/ports-mgmt/fastest_sites/Makefile
+++ b/ports-mgmt/fastest_sites/Makefile
@@ -4,8 +4,7 @@ PORTNAME= fastest_sites
PORTVERSION= 20110317
CATEGORIES= ports-mgmt
MASTER_SITES= http://www.semicomplete.com/files/fastest_sites/
-DISTNAME= ${PORTNAME}-${PORTVERSION}.py
-EXTRACT_SUFX= # nada
+EXTRACT_SUFX= .py
MAINTAINER= wxs@FreeBSD.org
COMMENT= Sort MASTER_SITE_* based upon TCP handshake times
@@ -18,7 +17,7 @@ SHEBANG_FILES= fastest_sites-${PORTVERSION}.py
do-extract:
@${MKDIR} ${WRKSRC}
- @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
+ @${CP} ${DISTDIR}/${DISTNAME}.py ${WRKSRC}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/fastest_sites-${PORTVERSION}.py \