aboutsummaryrefslogtreecommitdiff
path: root/graphics/yap/Makefile
blob: dba03d7164bc20b12347b2a719c872861e618db9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    yap
# Date created:         30 Dec 2006
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=	yap
PORTVERSION=	0.2
PORTREVISION=	2
CATEGORIES=	graphics gnustep
MASTER_SITES=	http://www.gnustep.it/marko/GPSText/
DISTNAME=	Yap
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	repacked/2007-02-15

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	GNUstep a2ps/gs frontend

RUN_DEPENDS+=	a2ps:${PORTSDIR}/print/a2ps-${PAPERSIZE}

USE_GNUSTEP=	yes
USE_GNUSTEP_PREFIX=	yes
USE_GNUSTEP_BACK=	yes
USE_GNUSTEP_BUILD=	yes
USE_GNUSTEP_INSTALL=	yes
USE_GHOSTSCRIPT_RUN=	yes

# - PAPERSIZE		Use PAPERSIZE as in a2ps port, default to letter.
PAPERSIZE?=	letter

.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
.BEGIN:
	@${ECHO_CMD}
	@${ECHO_CMD} "PAPERSIZE incorrect value: ${PAPERSIZE}."
	@${ECHO_CMD}
	@${ECHO_CMD} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
	@${ECHO_CMD} "letterdj allows a slightly larger margins for DeskJets."
	@${FALSE}
.endif

.include <bsd.port.mk>