1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/print/c2ps-letter/Makefile
Satoshi Asami 751790b51a 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.
1998-11-20 04:15:15 +00:00

29 lines
710 B
Makefile

# New ports collection makefile for: c2ps (letter)
# Version required: 4.0
# Date created: 19 March 1997
# Whom: Matthew Hunt <mph@pobox.com>
#
# $Id: Makefile,v 1.6 1998/10/30 08:35:31 asami Exp $
#
DISTNAME= c2ps-4.0
PKGNAME= c2ps-${PAPERSIZE}-4.0
CATEGORIES= print
MASTER_SITES= http://www.cs.technion.ac.il/users/c2ps/
MAINTAINER= mph@freebsd.org
MAN1= c2ps.1
MAKE_ENV= DEFAULT_PAPER_TYPE=${PS}
PAPERSIZE?= letter
PS!= echo ${PAPERSIZE} | awk '{print toupper($$1)}'
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter
.BEGIN:
@${ECHO} "Invalid value for PAPERSIZE: \"${PAPERSIZE}\""
@${ECHO} "Possible values are: a4, and letter."
@${FALSE}
.endif
.include <bsd.port.mk>