diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-11-20 04:15:15 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-11-20 04:15:15 +0000 |
commit | 751790b51ae4c1152e8944cbaf99d49b1377e95b (patch) | |
tree | 086c03d44a933a34d3f086e2ad7487d5d6b2872d /graphics/gimp-manual-html | |
parent | 1007d89b1e30bdb9e77bc765b023f4e3c60f6982 (diff) |
Remove LOOP_VAR and replace it with tiny Makefiles using MASTERDIR to
share most files. Repository copy the default to explicitly named
directories to avoid any confusion. Greatly simplify the shared
Makefiles, since we are now in different subdirectories, we don't need
"a4-install" stuff.
While I'm here, consistently name the variables. Here are the
guidelines (master port is in brackets)
DOCFORMAT: [html] pdf ps
KONFONT: 14dot [16dot]
PAPERSIZE: a4 [letter] letterdj
RESOLUTION: 118 240 [300] 360 400 600
"math/r" has been copied to "R-a4" and "R-letter", to follow the
spirit of the original port. "japanese/kon" is renamed to "kon2-*",
since that seems to be the basename.
Notes
Notes:
svn path=/head/; revision=14709
Diffstat (limited to 'graphics/gimp-manual-html')
-rw-r--r-- | graphics/gimp-manual-html/Makefile | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/graphics/gimp-manual-html/Makefile b/graphics/gimp-manual-html/Makefile index 0fe4f8f5f391..63703c499082 100644 --- a/graphics/gimp-manual-html/Makefile +++ b/graphics/gimp-manual-html/Makefile @@ -3,7 +3,7 @@ # Date created: 5 June 1998 # Whom: Brett Taylor # -# $Id: Makefile,v 1.3 1998/08/05 09:31:09 asami Exp $ +# $Id: Makefile,v 1.4 1998/10/30 11:21:54 asami Exp $ # DISTNAME= GimpUserManual-1.0.0 @@ -13,15 +13,14 @@ MASTER_SITES= ftp://manual.gimp.org/pub/manual/ MAINTAINER= brett@peloton.physics.montana.edu -LOOP_VAR= DOCFORMAT -LOOP_OPTIONS= HTML PDF PS - .if !defined(DOCFORMAT) DOCFORMAT=HTML -DOCFORMAT_UNSPECIFIED=YES .else .if ${DOCFORMAT} != "HTML" && ${DOCFORMAT} != "PDF" && ${DOCFORMAT} != "PS" -DOCFORMAT_INVALID=YES +.BEGIN: + @${ECHO} "ERROR: invalid value for DOCFORMAT: \"${DOCFORMAT}\"" + @${ECHO} "Possible values are: HTML, PDF, PS." + @${FALSE} .endif .endif @@ -34,16 +33,6 @@ pre-fetch: @${ECHO} "the PDF version is 14 MB and the HTML tar-bzip'ed" @${ECHO} "version is 16 MB (unpacks to 18.7 MB)." -.if defined(DOCFORMAT_UNSPECIFIED) - @${ECHO} "(DOCFORMAT not specified: defaulting to HTML format.)" - @${ECHO} "To choose the one you want, type:" - @${ECHO} " make DOCFORMAT={HTML,PDF,PS} [install]" -.elif defined(DOCFORMAT_INVALID) - @echo "ERROR: invalid value for DOCFORMAT: \"${DOCFORMAT}\"" - @echo "Possible values are: HTML (default), PDF, PS." - @${FALSE} -.endif - .if ${DOCFORMAT} == "HTML" EXTRACT_SUFX= -html.tar.bz2 WRKSRC= ${WRKDIR}/GimpUserManaul_v1.0.0 |