mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
f899c758a6
everything at once. Sometime, rename post-install into a options helper target. I did not fix ports that were such a mess that I could not figure out what they really wanted to do. I also did not change ports that had some version of an auto-plist code in post-install, for the same reason. With hat: portmgr Sponsored by: Absolight
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# Created by: thierry@pompo.net
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= SciPlot
|
|
PORTVERSION= 1.36
|
|
PORTREVISION= 4
|
|
CATEGORIES= graphics math
|
|
MASTER_SITES= XCONTRIB/widgets
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= Full-featured Xt widget to display 2D data in a graph
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= imake motif
|
|
USE_XORG= xp xt x11
|
|
MAKE_ENV= EXTRA_DEFINES="-fPIC" LIBNAME=${LIBNAME}
|
|
USE_LDCONFIG= yes
|
|
|
|
INCLUDES= SciPlot.h SciPlotP.h SciPlotUtil.h
|
|
LIBNAME= lib${PORTNAME:tl} # Remove :tl for libSciPlot
|
|
PLIST_SUB= LIBNAME=${LIBNAME}
|
|
|
|
PORTDOCS= README SciPlot.html SciPlotDemo.html SciPlotProg.html
|
|
EXDATA= data.txt
|
|
EXBINS= realtime sciplot
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
do-install:
|
|
${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
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${EXDATA:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_PROGRAM} ${EXBINS:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|