diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-01 07:25:59 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-01 07:25:59 +0000 |
commit | 05284ee12724b8a28a93a21534cdb8191a12e1ae (patch) | |
tree | 9be5662a2bd22766e70c6b5bc57d0e309c0c3df8 /math/ploticus/Makefile | |
parent | b3622a850cd57e16cf9bf0cfa308d241ab98aff5 (diff) |
Notes
Diffstat (limited to 'math/ploticus/Makefile')
-rw-r--r-- | math/ploticus/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/math/ploticus/Makefile b/math/ploticus/Makefile index ae6b87f74793..9ec313128004 100644 --- a/math/ploticus/Makefile +++ b/math/ploticus/Makefile @@ -8,6 +8,7 @@ PORTNAME= ploticus PORTVERSION= 2.11 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://ploticus.sourceforge.net/download/ DISTNAME= plsrc${PORTVERSION:S/.//} @@ -15,15 +16,28 @@ DISTNAME= plsrc${PORTVERSION:S/.//} MAINTAINER= ports@FreeBSD.org COMMENT= Generates plots and graphs from data -LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \ +LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ + ming.3:${PORTSDIR}/graphics/ming \ png.5:${PORTSDIR}/graphics/png \ freetype.9:${PORTSDIR}/print/freetype2 WRKSRC= ${WRKDIR}/${DISTNAME}/src CONFLICTS= slffea-* swi-pl-* -USE_XLIB= yes -ALL_TARGET= ${PORTNAME} + +FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config + +USE_XPM= yes +MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}" \ + LOCALEOBJ="localef.o" LOCALE_FLAG="-DLOCALE" \ + MING="-L${LOCALBASE}/lib -lming" \ + MINGH="-I${LOCALBASE}/include/ming" NOSWFFLAG="" \ + GD18LIBS="`${FREETYPE_CONFIG} --libs` \ + -L${LOCALBASE}/lib -lgd -lpng -lz -ljpeg" \ + GD18H="`${FREETYPE_CONFIG} --cflags` \ + -L${LOCALBASE}/include" \ + GDFREETYPE="-DGDFREETYPE" PREFABS_DIR="${DATADIR}" +ALL_TARGET= plgd18 MAN1= pl.1 |