# New ports collection makefile for: plplot # Date created: 03 Oct 1997 # Whom: Thomas Gellekum # # $FreeBSD$ # PORTNAME= plplot PORTVERSION= 5.5.2 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= A scientific plotting package BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 LIB_DEPENDS= unicode.0:${PORTSDIR}/devel/libunicode \ gd.4:${PORTSDIR}/graphics/gd \ qhull.5:${PORTSDIR}/math/qhull USE_LIBLTDL= yes USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ M4="${LOCALBASE}/bin/gm4" CONFIGURE_ARGS= --disable-cgm --disable-java --disable-octave \ --with-ltdlsystem \ --with-gd-incdir=${LOCALBASE}/include \ --with-gd-libdir=${LOCALBASE}/lib \ --with-freetype-font-dir=${LOCALBASE} INSTALLS_SHLIB= yes PLIST_SUB= VERSION="${PORTVERSION}" MAN1= plm2gif.1 plplot_libtool.1 plpr.1 pltek.1 pstex2eps.1 .if defined(WITHOUT_X11) PKGNAMESUFFIX= -nox11 CONFIGURE_ARGS+= --without-x PLIST_SUB+= X11="@comment " .else USE_XLIB= yes PLIST_SUB+= X11="" .endif .if !defined(WITHOUT_PTHREAD) CONFIGURE_ARGS+= --with-pthreads .endif .if defined(WITH_SVGALIB) LIB_DEPENDS+= vga:${PORTSDIR}/graphics/svgalib PLIST_SUB+= SVGALIB="" .else CONFIGURE_ARGS+= --disable-linuxvga PLIST_SUB+= SVGALIB="@comment " .endif .if defined(WITH_PYTHON) USE_PYTHON= yes PLIST_SUB+= PYTHON="" .else CONFIGURE_ARGS+= --disable-python PLIST_SUB+= PYTHON="@comment " .endif .if defined(WITH_TCLTK) .undef WITHOUT_X11 PKGNAMESUFFIX= -tcltk LIB_DEPENDS+= itk32.1:${PORTSDIR}/x11-toolkits/itk CONFIGURE_ENV+= ITKINCDIR="${LOCALBASE}/include/itk3.2" \ ITKLIBDIR="${LOCALBASE}/lib" \ TKINCDIR="${LOCALBASE}/include/tk8.3" \ TKPRIVATEINCDIR="${LOCALBASE}/include/tk8.3/generic" \ TKLIBDIR="${LOCALBASE}/lib" \ ITCLINCDIR="${LOCALBASE}/include/itcl3.2" \ ITCLLIBDIR="${LOCALBASE}/lib" \ TCLINCDIR="${LOCALBASE}/include/tcl8.3" \ TCLPRIVATEINCDIR="${LOCALBASE}/include/tcl8.3/generic" \ TCLLIBDIR="${LOCALBASE}/lib" MAN1+= plrender.1 plserver.1 pltcl.1 PLIST_SUB+= TCLTK="" .else CONFIGURE_ARGS+= --disable-itcl --disable-tcl --disable-tk PLIST_SUB+= TCLTK="@comment " .endif pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "PLplot has the following tunable options:" @${ECHO_MSG} "" @${ECHO_MSG} " WITHOUT_X11=yes Turns off X11 support" @${ECHO_MSG} " WITHOUT_PTHREAD=yes Turns off pthread support" @${ECHO_MSG} " WITH_SVGALIB=yes Turns on SVGAlib support" @${ECHO_MSG} " WITH_PYTHON=yes Turns on Python support" @${ECHO_MSG} " WITH_TCLTK=yes Turns on Tcl/Tk support" @${ECHO_MSG} "" post-patch: @${REINPLACE_CMD} -e 's|-litk$$|-litk32|g ; \ s|-ltk$$|-ltk83|g ; \ s|-litcl$$|-litcl32|g ; \ s|-ltcl$$|-ltcl83|g ; \ s|-lpthread|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|tk octave java|tk|g' \ ${WRKSRC}/bindings/Makefile.in @${REINPLACE_CMD} -e 's| tclsh | ${LOCALBASE}/bin/tclsh8.3 |g' \ ${WRKSRC}/scripts/mktclIndex post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in AUTHORS ChangeLog Copyright FAQ NEWS PROBLEMS README ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/drivers/README.drivers \ ${DOCSDIR}/README.drivers ${INSTALL_DATA} ${WRKSRC}/lib/csa/README \ ${DOCSDIR}/README.csa ${INSTALL_DATA} ${WRKSRC}/lib/csa/README.1st \ ${DOCSDIR}/README.1st.csa .endif .include lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update xkbcomp to 1.3.1.kwm2015-11-112-3/+3
* Misc X.org port updates:kwm2015-04-182-3/+3
* Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]zeising2013-12-161-4/+2
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* The FreeBSD x11 team proudly presentszeising2013-05-251-1/+1
* Add a new xorg module, to use with USE_XORG: xorg-macros. This modulezeising2013-03-121-3/+2
* Fix typo.zeising2013-02-061-1/+1
* Add USE_GNOME=gnomehack instead of home-rolled version. [1]zeising2013-02-061-4/+2
* Update to 1.2.4zeising2013-02-042-9/+9
* - updated evieext to 1.1.1eadler2011-09-222-3/+5
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* - Please welcome Xorg 7.5.1miwi2011-02-261-3/+0
* - Update to Xorg 7.5miwi2010-05-012-4/+4