1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/misc/pointless/Makefile
Tilman Keskinoz ed1391ac1d Fix build with python 2.4
PR:		74631
Submitted by:	Christian Laursen <xi@borderworlds.dk>
2004-12-04 17:19:10 +00:00

49 lines
1.3 KiB
Makefile

# New ports collection makefile for: pointless
# Date created: 23 june 2003
# Whom: Christian Laursen <xi@borderworlds.dk>
#
# $FreeBSD$
#
PORTNAME= pointless
PORTVERSION= 0.5
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/a2ps:${PORTSDIR}/print/a2ps-letter \
${LOCALBASE}/bin/mpost:${PORTSDIR}/print/teTeX
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_GL= yes
USE_PYTHON= yes
USE_AUTOCONF_VER= 259
CONFIGURE_ARGS+= --prefix=${PREFIX} --program-transform-name=""
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib/${PYTHON_VERSION}/config/
MAN1= pointless.1
INSTALL_TARGET= install install-modules
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"
@${ECHO} ""
.endif
.include <bsd.port.mk>