freebsd-ports/misc/pointless/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +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_AUTOTOOLS= autoconf: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>