1998-11-20 05:15:15 +01:00
|
|
|
# New ports collection makefile for: c2ps (letter)
|
1997-03-24 20:36:56 +01:00
|
|
|
# Date created: 19 March 1997
|
|
|
|
# Whom: Matthew Hunt <mph@pobox.com>
|
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1997-03-24 20:36:56 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 19:50:59 +02:00
|
|
|
PORTNAME= c2ps-${PAPERSIZE}
|
|
|
|
PORTVERSION= 4.0
|
1997-03-24 20:36:56 +01:00
|
|
|
CATEGORIES= print
|
1998-02-25 01:25:52 +01:00
|
|
|
MASTER_SITES= http://www.cs.technion.ac.il/users/c2ps/
|
2000-04-09 19:41:40 +02:00
|
|
|
DISTNAME= c2ps-${PORTVERSION}
|
1997-03-24 20:36:56 +01:00
|
|
|
|
1998-04-18 01:26:31 +02:00
|
|
|
MAINTAINER= mph@freebsd.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A PostScript pretty-printer for C source
|
1997-03-24 20:36:56 +01:00
|
|
|
|
|
|
|
MAN1= c2ps.1
|
1998-11-20 05:15:15 +01:00
|
|
|
MAKE_ENV= DEFAULT_PAPER_TYPE=${PS}
|
1997-03-24 20:36:56 +01:00
|
|
|
|
1998-11-20 05:15:15 +01:00
|
|
|
PAPERSIZE?= letter
|
|
|
|
PS!= echo ${PAPERSIZE} | awk '{print toupper($$1)}'
|
|
|
|
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter
|
|
|
|
.BEGIN:
|
1998-02-25 01:25:52 +01:00
|
|
|
@${ECHO} "Invalid value for PAPERSIZE: \"${PAPERSIZE}\""
|
1998-11-20 05:15:15 +01:00
|
|
|
@${ECHO} "Possible values are: a4, and letter."
|
1998-02-25 01:25:52 +01:00
|
|
|
@${FALSE}
|
|
|
|
.endif
|
1997-03-24 20:36:56 +01:00
|
|
|
|
1998-02-25 01:25:52 +01:00
|
|
|
.include <bsd.port.mk>
|