freebsd-ports/print/c2ps-letter/Makefile
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00

30 lines
716 B
Makefile

# New ports collection makefile for: c2ps (letter)
# Date created: 19 March 1997
# Whom: Matthew Hunt <mph@pobox.com>
#
# $FreeBSD$
#
PORTNAME= c2ps-${PAPERSIZE}
PORTVERSION= 4.0
CATEGORIES= print
MASTER_SITES= http://www.cs.technion.ac.il/users/c2ps/
DISTNAME= c2ps-${PORTVERSION}
MAINTAINER= mph@freebsd.org
COMMENT= A PostScript pretty-printer for C source
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>