1998-12-24 08:10:15 +01:00
|
|
|
# New ports collection makefile for: cgraph
|
|
|
|
# Date created: 25 September 1998
|
|
|
|
# Whom: Anton Berezin <tobez@plab.ku.dk>
|
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1998-12-24 08:10:15 +01:00
|
|
|
#
|
|
|
|
|
2000-04-13 08:28:28 +02:00
|
|
|
PORTNAME= Cgraph
|
|
|
|
PORTVERSION= 2.04
|
2008-07-23 22:36:50 +02:00
|
|
|
PORTREVISION= 2
|
1998-12-24 08:10:15 +01:00
|
|
|
CATEGORIES= graphics
|
2001-07-28 00:32:00 +02:00
|
|
|
MASTER_SITES= http://www.tobez.org/download/port-mirrors/graphics/Cgraph/
|
2000-04-13 08:28:28 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
1998-12-24 08:10:15 +01:00
|
|
|
|
2001-06-12 21:25:41 +02:00
|
|
|
MAINTAINER= tobez@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A PostScript plotting library in C
|
1998-12-24 08:10:15 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/Cgraph/source
|
2008-07-23 22:36:50 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:L}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME:L}
|
1998-12-24 08:10:15 +01:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2000-06-15 19:12:51 +02:00
|
|
|
|
1998-12-24 08:10:15 +01:00
|
|
|
post-extract:
|
|
|
|
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2008-07-23 22:36:50 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../docs/cgraph.ps ${DOCSDIR}
|
1998-12-24 08:10:15 +01:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2008-07-23 22:36:50 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../examples/minimal/CGminimal.c \
|
|
|
|
${WRKSRC}/../examples/dash/dashlist.c \
|
|
|
|
${WRKSRC}/../examples/marker/markerlist.c \
|
|
|
|
${WRKSRC}/../examples/loglog/TFopt-lrLog.c \
|
|
|
|
${WRKSRC}/../examples/loglog/TFampspect.dat ${EXAMPLESDIR}
|
1998-12-24 08:10:15 +01:00
|
|
|
.endif
|
|
|
|
|
2000-03-27 19:29:43 +02:00
|
|
|
.include <bsd.port.mk>
|