aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-05-12 02:34:57 +0800
committerMathieu Arnold <mat@FreeBSD.org>2015-05-12 02:34:57 +0800
commit88bfe4bd43787219ab4de75bd68c490c98776dfc (patch)
tree634e1ef4990207301493f26b46d80abe56b9f2b3 /print
parent9e8bfe9c71187ea60ac9f3a55c0c7bde80d76033 (diff)
downloadfreebsd-ports-gnome-88bfe4bd43787219ab4de75bd68c490c98776dfc.tar.gz
freebsd-ports-gnome-88bfe4bd43787219ab4de75bd68c490c98776dfc.tar.zst
freebsd-ports-gnome-88bfe4bd43787219ab4de75bd68c490c98776dfc.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 'print')
-rw-r--r--print/foomatic-db-engine/Makefile4
-rw-r--r--print/foomatic-db-hpijs/Makefile2
-rw-r--r--print/py-reportlab/Makefile4
-rw-r--r--print/rtf2latex2e/Makefile3
-rw-r--r--print/xtexsh/Makefile3
5 files changed, 7 insertions, 9 deletions
diff --git a/print/foomatic-db-engine/Makefile b/print/foomatic-db-engine/Makefile
index 17fee8b497d0..3e721e73294e 100644
--- a/print/foomatic-db-engine/Makefile
+++ b/print/foomatic-db-engine/Makefile
@@ -6,8 +6,8 @@ PORTVERSION= 4.0.12
PORTEPOCH= 2
CATEGORIES= print
MASTER_SITES= http://www.openprinting.org/download/foomatic/ \
- ${MASTER_SITE_GOOGLE_CODE} \
- ${MASTER_SITE_LOCAL:S,$,acm/foomatic/,}
+ GOOGLE_CODE \
+ LOCAL/acm/foomatic
PKGNAMEPREFIX= foomatic-db-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= foomatic
diff --git a/print/foomatic-db-hpijs/Makefile b/print/foomatic-db-hpijs/Makefile
index 4322f6b08d45..d1e722ba3b68 100644
--- a/print/foomatic-db-hpijs/Makefile
+++ b/print/foomatic-db-hpijs/Makefile
@@ -3,9 +3,9 @@
PORTNAME= foomatic-db-hpijs
PORTVERSION= 1.4
+DISTVERSIONSUFFIX= -1
CATEGORIES= print
MASTER_SITES= LOCAL/lofi
-DISTNAME= ${PORTNAME}-${PORTVERSION}-1
MAINTAINER= ports@FreeBSD.org
COMMENT= Foomatic data for the HPIJS printer drivers
diff --git a/print/py-reportlab/Makefile b/print/py-reportlab/Makefile
index 0bf597489360..e59983017256 100644
--- a/print/py-reportlab/Makefile
+++ b/print/py-reportlab/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= print python
MASTER_SITES= CHEESESHOP \
http://www.reportlab.com/ftp/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PFBFER}
-EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Library to create PDF documents using the Python language
diff --git a/print/rtf2latex2e/Makefile b/print/rtf2latex2e/Makefile
index 6ce4f0a08751..cae38443422d 100644
--- a/print/rtf2latex2e/Makefile
+++ b/print/rtf2latex2e/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= rtf2latex2e
-PORTVERSION= 2.2.2
+DISTVERSION= 2-2-2
CATEGORIES= print
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-unix/2-2
-DISTNAME= ${PORTNAME}-${PORTVERSION:C|\.|-|g}
MAINTAINER= martin.dieringer@gmx.de
COMMENT= Newer filter that converts RTF (MS Rich Text Format) into LaTeX
diff --git a/print/xtexsh/Makefile b/print/xtexsh/Makefile
index e8b19f9cfb1a..880f31d0e9d9 100644
--- a/print/xtexsh/Makefile
+++ b/print/xtexsh/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= xtexsh
-PORTVERSION= 1.4.2
+DISTVERSION= 1.4-2
PORTREVISION= 6
CATEGORIES= print
MASTER_SITES= http://www.mat.univie.ac.at/~gerald/ftp/xtexsh/
-DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tcl/Tk-based simple TeX interface