summaryrefslogtreecommitdiff
path: root/graphics/gimp-manual-html
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-06-16 11:29:43 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-06-16 11:29:43 +0000
commit26aa88aecbe535d108be21c45544d07a84efe6a1 (patch)
treeff9100cf83413dc682276bbbc4bd2530eb9734e1 /graphics/gimp-manual-html
parentActivate daemontools. (diff)
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/gimp-manual-html')
-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