# New ports collection makefile for: gnuplot # Date created: 19 April 1998 # Whom: chuckr # # $FreeBSD$ # PORTNAME= gnuplot PORTVERSION= 4.0.0 PORTREVISION= 3 CATEGORIES= math graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= glewis@FreeBSD.org COMMENT= A command-driven interactive function plotting program USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --without-tutorial \ --without-linux-vga \ --with-lasergnu OPTIONS= GD "Enable GD support" on \ HISTOGRAMS "Enable stacked histograms" off \ PDF "Enable PDF support" on \ PNG "Enable PNG support" on \ READLINE "Enable readline support" on MAN1= gnuplot.1 lasergnu.1 INFO= gnuplot .if exists(${PREFIX}/bin/emacs) || exists(${PREFIX}/bin/xemacs) EMACS_PORT_NAME= emacs21 EMACS_NO_BUILD_DEPENDS= yes EMACS_NO_RUN_DEPENDS= yes CONFIGURE_ARGS+= --with-lisp-files .else PLIST_SUB+= EMACS_SITE_LISPDIR="@comment " CONFIGURE_ARGS+= --without-lisp-files .endif .include .if !defined(WITHOUT_READLINE) .if ${OSVERSION} < 500018 LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline CONFIGURE_ARGS+= --with-readline="${LOCALBASE}" .else CONFIGURE_ARGS+= --with-readline=gnu .endif .endif .if !defined(WITHOUT_X11) USE_XLIB= yes PLIST_SUB+= X11="" .else CONFIGURE_ARGS+= --without-x PLIST_SUB+= X11="@comment " .endif .if defined(WITHOUT_GD) CONFIGURE_ARGS+= --without-gd .else LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd CONFIGURE_ARGS+= --with-gd=${LOCALBASE} .endif .if defined(WITHOUT_PDF) CONFIGURE_ARGS+= --without-pdf .else LIB_DEPENDS+= pdf.7:${PORTSDIR}/print/pdflib CONFIGURE_ARGS+= --with-pdf=${LOCALBASE} .endif .if defined(WITHOUT_PNG) CONFIGURE_ARGS+= --without-png .else LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png CONFIGURE_ARGS+= --with-png=${LOCALBASE} .endif .if defined(WITH_HISTOGRAMS) PATCH_SITES= http://www.bmsc.washington.edu/people/merritt/gnuplot/ PATCHFILES= datastrings_4.0.patch histograms_4.0.patch PATCH_DIST_STRIP= -p1 USE_AUTOCONF_VER= 259 CONFIGURE_ARGS+= --enable-datastrings \ --enable-histograms PLIST_SUB+= HISTOGRAMS="" .else PLIST_SUB+= HISTOGRAMS="@comment " .endif post-patch: @${REINPLACE_CMD} -e \ 's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in @${FIND} "${WRKSRC}" -name '*.orig' -delete post-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin .if exists(${PREFIX}/bin/emacs) || exists(${PREFIX}/bin/xemacs) ${INSTALL_DATA} ${WRKSRC}/lisp/gnuplot*.el ${EMACS_SITE_LISPDIR} .endif .if !defined(NOPORTDOCS) @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC}/demo && ${FIND} . \ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} .endif .include etch-2.6.1 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Update to version 3.07sperber2012-12-0113-964/+112
* - remove MD5ohauer2011-07-031-1/+0
* Bump PORTREVISION after open-mofit updatemakc2011-05-021-1/+1
* - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-1/+1
* - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-1/+1
* - Fix buildrafan2007-08-159-144/+176
* BROKEN: Does not buildkris2007-05-251-0/+2
* - Welcome X.org 7.2 \o/.flz2007-05-202-1/+12
* - Respect X11BASEmiwi2006-11-252-1/+2
* Remove USE_REINPLACE from all categories starting with Sedwin2006-05-131-1/+0
* - Add SHA256pav2005-11-261-0/+1
* Remove superfluous dependencies.thierry2005-09-203-108/+111
* Remove XAWVER from Xaw3d LIB_DEPENDS re. Xaw3d will be depended upon justlesi2005-04-101-1/+1
* - Fix build on 5.x: add dependency on motif [1]pav2005-01-303-8/+15
* BROKEN on 5.x: Does not buildkris2004-09-191-1/+7
* - Fix MASTER_SITESkrion2004-05-311-3/+1
* SIZEify.trevor2004-01-301-0/+1
* USE_MESA -> USE_GLfjoe2003-12-101-1/+1
* . Welcome felt to the science category.glewis2003-11-081-1/+1
* Before committing the previous BROKEN changes I carefully checked the statuskris2003-10-161-7/+1
* BROKEN on 5.x: does not compilekris2003-10-161-1/+7
* Update to CAD/feltedwin2003-08-255-9/+741
* De-pkg-comment.knu2003-02-212-1/+1
* o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1
* Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2
* PERL -> REINPLACE_CMDijliao2002-07-081-4/+5
* FElt sourceforge subdir changed to all lowercasepat2002-04-291-1/+1