aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-06-16 19:29:43 +0800
committerasami <asami@FreeBSD.org>1998-06-16 19:29:43 +0800
commit718257b9b4376361344b0a59b5a022734024ddf2 (patch)
treefd44d78b5079e787959c0f19324b7fdeaa4baafc /graphics
parent93f4d27e74af3fe72f9573a8637adec20532ab13 (diff)
downloadfreebsd-ports-gnome-718257b9b4376361344b0a59b5a022734024ddf2.tar.gz
freebsd-ports-gnome-718257b9b4376361344b0a59b5a022734024ddf2.tar.zst
freebsd-ports-gnome-718257b9b4376361344b0a59b5a022734024ddf2.zip
Move PKGNAME up and define it using ${DOCFORMAT} instead of replicating
it in three places. Use empty EXTRACT_ONLY instead of NO_EXTRACT in pdf case so checksum is checked. Add checksum for pdf distfile.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gimp-manual-html/Makefile11
-rw-r--r--graphics/gimp-manual-html/distinfo1
2 files changed, 4 insertions, 8 deletions
diff --git a/graphics/gimp-manual-html/Makefile b/graphics/gimp-manual-html/Makefile
index cc72f81d08c7..a28490e8d647 100644
--- a/graphics/gimp-manual-html/Makefile
+++ b/graphics/gimp-manual-html/Makefile
@@ -3,10 +3,11 @@
# Date created: 5 June 1998
# Whom: Brett Taylor
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1998/06/10 13:57:13 dburr Exp $
#
DISTNAME= GimpUserManual-1.0.0
+PKGNAME= GimpUserManual-${DOCFORMAT}-1.0.0
CATEGORIES= graphics
MASTER_SITES= ftp://manual.gimp.org/pub/manual/
@@ -42,8 +43,6 @@ pre-fetch:
.endif
.if ${DOCFORMAT} == "HTML"
-PKGNAME= GimpUserManual-HTML-1.0.0
-
EXTRACT_SUFX= -html.tar.bz2
WRKSRC= ${WRKDIR}/GimpUserManaul_v1.0.0
@@ -66,11 +65,9 @@ do-install:
.endif
.if ${DOCFORMAT} == "PDF"
-PKGNAME= GimpUserManual-PDF-1.0.0
-
DISTFILES= GimpUserManual-1.0.0-pdf
-NO_EXTRACT= yes
+EXTRACT_ONLY= #empty
NO_BUILD= yes
USE_X11= yes
@@ -88,8 +85,6 @@ do-install:
.if ${DOCFORMAT} == "PS"
DISTNAME= GimpUserManual-1.0.0-ps
-PKGNAME= GimpUserManual-PS-1.0.0
-
EXTRACT_SUFX= .gz
EXTRACT_CMD= ${GZIP_CMD}
EXTRACT_BEFORE_ARGS= -cd
diff --git a/graphics/gimp-manual-html/distinfo b/graphics/gimp-manual-html/distinfo
index 43dd32f96bf8..ff13b7d2fb67 100644
--- a/graphics/gimp-manual-html/distinfo
+++ b/graphics/gimp-manual-html/distinfo
@@ -1,2 +1,3 @@
MD5 (GimpUserManual-1.0.0-html.tar.bz2) = e7e07c177c4682609257ea67ecf174d1
+MD5 (GimpUserManual-1.0.0-pdf) = 09025c8eb61459d68380421a46d36ae1
MD5 (GimpUserManual-1.0.0-ps.gz) = 004887a94106f7a59ec8c2fe43a03113