2013-06-28 23:19:31 +02:00
|
|
|
# Created by: thierry@pompo.net
|
2004-06-10 22:51:46 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= SciPlot
|
|
|
|
PORTVERSION= 1.36
|
2013-09-02 19:47:54 +02:00
|
|
|
PORTREVISION= 4
|
2004-06-10 22:51:46 +02:00
|
|
|
CATEGORIES= graphics math
|
|
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
|
|
MASTER_SITE_SUBDIR= widgets
|
|
|
|
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
2013-06-28 23:19:31 +02:00
|
|
|
COMMENT= Full-featured Xt widget to display 2D data in a graph
|
2004-06-10 22:51:46 +02:00
|
|
|
|
2013-09-02 19:47:54 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-07-10 08:55:28 +02:00
|
|
|
USES= imake motif
|
2013-09-02 19:47:54 +02:00
|
|
|
USE_XORG= xp xt x11
|
2004-06-10 22:51:46 +02:00
|
|
|
MAKE_ENV= EXTRA_DEFINES="-fPIC" LIBNAME=${LIBNAME}
|
- 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
|
2004-06-10 22:51:46 +02:00
|
|
|
|
|
|
|
INCLUDES= SciPlot.h SciPlotP.h SciPlotUtil.h
|
2014-05-05 11:45:36 +02:00
|
|
|
LIBNAME= lib${PORTNAME:tl} # Remove :tl for libSciPlot
|
2004-06-10 22:51:46 +02:00
|
|
|
PLIST_SUB= LIBNAME=${LIBNAME}
|
|
|
|
|
|
|
|
PORTDOCS= README SciPlot.html SciPlotDemo.html SciPlotProg.html
|
|
|
|
EXDATA= data.txt
|
|
|
|
EXBINS= realtime sciplot
|
|
|
|
|
2014-07-04 02:09:47 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
2004-06-10 22:51:46 +02:00
|
|
|
do-install:
|
2014-04-14 23:09:48 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${INCLUDES:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${LIBNAME}.a ${STAGEDIR}${PREFIX}/lib
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${LIBNAME}.so.0 ${STAGEDIR}${PREFIX}/lib
|
|
|
|
${LN} -sf ${LIBNAME}.so.0 ${STAGEDIR}${PREFIX}/lib/${LIBNAME}.so
|
2004-06-10 22:51:46 +02:00
|
|
|
|
|
|
|
post-install:
|
2014-04-14 23:09:48 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${EXDATA:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_PROGRAM} ${EXBINS:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
|
2004-06-10 22:51:46 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|