# New ports collection makefile for: pstodit # Date created: 03 July 1998 # Whom: Thomas Gellekum # # $FreeBSD$ # PORTNAME= pstoedit PORTVERSION= 3.60 CATEGORIES= graphics print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Convert PostScript to other vector graphic formats LICENSE= GPLv2 LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd OPTIONS= IMAGEMAGICK "Enable magick++ interface" on \ EMF "Enable emf interface" on \ MING "Enable swf interface" off \ PLOTUTILS "Enable libplot interface" on USE_GNOME= gnomehack pkgconfig USE_GHOSTSCRIPT= yes USE_AUTOTOOLS= libtool USE_LDCONFIG= yes MAKE_JOBS_UNSAFE=yes CFLAGS+= -DHAVE_LIBGD CPPFLAGS+= -I${LOCALBASE}/include/ming -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAN1= pstoedit.1 .include .if defined(WITHOUT_IMAGEMAGICK) CONFIGURE_ARGS+= --without-magick PLIST_SUB+= IMAGEMAGICK="@comment " .else LIB_DEPENDS+= Magick++.5:${PORTSDIR}/graphics/ImageMagick PLIST_SUB+= IMAGEMAGICK="" .endif .if defined(WITHOUT_EMF) CONFIGURE_ARGS+= --without-emf PLIST_SUB+= EMF="@comment " .else LIB_DEPENDS+= EMF.1:${PORTSDIR}/graphics/libemf CONFIGURE_ARGS+= --with-libemf-include=${LOCALBASE}/include/libEMF PLIST_SUB+= EMF="" .endif .if defined(WITHOUT_MING) CONFIGURE_ARGS+= --without-swf PLIST_SUB+= MING="@comment " .else LIB_DEPENDS+= ming.5:${PORTSDIR}/graphics/ming PLIST_SUB+= MING="" .endif .if defined(WITHOUT_PLOTUTILS) CONFIGURE_ARGS+= --without-libplot PLIST_SUB+= PLOTUTILS="@comment " .else LIB_DEPENDS+= plotter.4:${PORTSDIR}/graphics/plotutils PLIST_SUB+= PLOTUTILS="" .endif post-patch: @${REINPLACE_CMD} -e 's|CXXFLAGS="-g"|CXXFLAGS="$$CXXFLAGS"|g ; \ s|GraphicsMagick|Magick|g ; \ s|=$$OLDCPPFLAGS|=$$CPPFLAGS|g ; \ s|-pedantic||g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/src/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/doc/pstoedit.1 ${MANPREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.ps ${EXAMPLESDIR} .endif .include 17.19 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Add some SHA256 checksumspav2005-11-241-0/+1
* - Add WITHOUT_X11 knob to disable Qt GUIpav2004-11-061-3/+6
* Use PLIST_FILES.trevor2004-02-062-1/+1
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-1/+1
* Add SIZE.trevor2004-01-281-0/+1
* Fix some ports that write something after bsd.port.mkeik2003-11-151-2/+0
* REST IN PEACEwill2003-06-091-1/+1
* Partially fix build on -current (machine/soundcard.h -> sys/soundcard.h).kris2003-05-103-0/+42
* unbreak port; no response from Kris or portmgralane2003-03-121-1/+2
* Clear moonlight beckons.ade2003-03-072-1/+1
* fix typo: USE_QT_VERSION -> USE_QT_VERalane2003-01-251-1/+1
* sorry, don't know how that slipped by mealane2003-01-211-32/+0