751790b51a
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.
29 lines
710 B
Makefile
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>
|