mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
33e3d901d4
modular xorg. - supply corresponding USE_XORG for all imake-using ports that need it - USE_IMAKE no longer implies USE_XLIB in absence of USE_XORG - retire USE_X_PREFIX which is not really used anywhere after the above change - a few minor nits like whitespace and SF macro Tested by: 2 tinderbox runs by pav Approved by: portmgr (pav)
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# New ports collection makefile for: SciPlot
|
|
# Date created: Mon June 8 2004
|
|
# Whom: thierry@pompo.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= SciPlot
|
|
PORTVERSION= 1.36
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics math
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
MASTER_SITE_SUBDIR= widgets
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= A full-featured Xt widget to display 2D data in a graph
|
|
|
|
USE_MOTIF= yes
|
|
USE_IMAKE= yes
|
|
USE_XORG= xp
|
|
MAKE_ENV= EXTRA_DEFINES="-fPIC" LIBNAME=${LIBNAME}
|
|
USE_LDCONFIG= yes
|
|
|
|
INCLUDES= SciPlot.h SciPlotP.h SciPlotUtil.h
|
|
LIBNAME= lib${PORTNAME:L} # Remove :L for libSciPlot
|
|
PLIST_SUB= LIBNAME=${LIBNAME}
|
|
|
|
PORTDOCS= README SciPlot.html SciPlotDemo.html SciPlotProg.html
|
|
EXDATA= data.txt
|
|
EXBINS= realtime sciplot
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/include/${PORTNAME}
|
|
${INSTALL_DATA} ${INCLUDES:S|^|${WRKSRC}/|} ${PREFIX}/include/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/${LIBNAME}.a ${PREFIX}/lib
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${LIBNAME}.so.0 ${PREFIX}/lib
|
|
(cd ${PREFIX}/lib; ${LN} -sf ${LIBNAME}.so.0 ${LIBNAME}.so)
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${EXDATA:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
|
|
${INSTALL_PROGRAM} ${EXBINS:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
|
|
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|