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