/net/seda/

y'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pointless/Makefile
blob: 55294c1e765206480c885ae176c389595b1f97ce (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
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:   pointless
# Date created:        23 june 2003
# Whom:                Christian Laursen <xi@borderworlds.dk>
#
# $FreeBSD$
#

PORTNAME=   pointless
PORTVERSION=    0.4
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= xi@borderworlds.dk
COMMENT=    Pointless is a presentation tool primarily targeted at the un*x world

.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
GSPORT?=    print/ghostscript-afpl
.else
GSPORT?=    print/ghostscript-gnu
.endif

BUILD_DEPENDS=  ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot \
        ${LOCALBASE}/bin/gs:${PORTSDIR}/${GSPORT} \
        ${LOCALBASE}/bin/latex:${PORTSDIR}/print/latex \
        ${LOCALBASE}/bin/dvips:${PORTSDIR}/print/dvips \
        ${LOCALBASE}/bin/a2ps:${PORTSDIR}/print/a2ps-letter \
        ${LOCALBASE}/bin/mpost:${PORTSDIR}/print/teTeX
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_MESA=   yes
USE_PYTHON= yes
PYTHON_VERSION= python2.2

HAS_CONFIGURE=  yes
CONFIGURE_ARGS+=    --prefix=${PREFIX}
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include

MAN1=       pointless.1

CXXFLAGS=   -DHAVE_PYTHON2_2

pre-fetch:
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
    @${ECHO} ""
    @${ECHO} "      Define WITH_GHOSTSCRIPT_AFPL=yes to use"
    @${ECHO} "      AFPL Postscript interpreter instead of GNU one"
    @${