aboutsummaryrefslogtreecommitdiffstats
path: root/print/mp-letter
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-20 12:15:15 +0800
committerasami <asami@FreeBSD.org>1998-11-20 12:15:15 +0800
commit71102e95212bab836c7a1f7b6a46879128507258 (patch)
tree092d32b70a72fb7f03924e677d49b93599639b89 /print/mp-letter
parent1adcc2f9a259e053ec9c8749e6e4ca4193bd4a56 (diff)
downloadfreebsd-ports-gnome-71102e95212bab836c7a1f7b6a46879128507258.tar.gz
freebsd-ports-gnome-71102e95212bab836c7a1f7b6a46879128507258.tar.zst
freebsd-ports-gnome-71102e95212bab836c7a1f7b6a46879128507258.zip
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.
Diffstat (limited to 'print/mp-letter')
-rw-r--r--print/mp-letter/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/print/mp-letter/Makefile b/print/mp-letter/Makefile
index 684ad73f476d..cf01e60f958a 100644
--- a/print/mp-letter/Makefile
+++ b/print/mp-letter/Makefile
@@ -1,9 +1,9 @@
-# New ports collection makefile for: mp
+# New ports collection makefile for: mp (letter)
# Version required: 3.0.1
# Date created: 11 July 1996
# Whom: David O'Brien <obrien@cs.ucdavis.edu>
#
-# $Id: Makefile,v 1.8 1998/09/19 01:40:37 hoek Exp $
+# $Id: Makefile,v 1.9 1998/10/30 08:35:37 asami Exp $
#
DISTNAME= mp-3.0.1
@@ -14,17 +14,14 @@ MASTER_SITES= ftp://ftp.NUXI.com/pub/misc/ \
MAINTAINER= obrien@FreeBSD.org
-LOOP_VAR= PAPERSIZE
-LOOP_OPTIONS= letter a4
WRKSRC= ${WRKDIR}/mp
MAN1= mp.1
MLINKS= mp.1 digestp.1 - filep.1 - filofaxp.1 \
- franklinp.1 - mailp.1 - newsp.1 \
- timemanp.1 - timesysp.1
-.if !defined(PAPERSIZE)
-PAPERSIZE=letter
-.elif ${PAPERSIZE} == A4 || ${PAPERSIZE} == a4
+PAPERSIZE?= letter
+.if ${PAPERSIZE} == a4
INSTALL_TARGET= install-a4
.endif