mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
e32eeb8bc9
comms/spandsp-devel - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library - Fix typo deskutils/kupfer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change install, cosmetical changes deskutils/rubrica - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Strip libraries - Change REINPLACE and install, cosmetical changes graphics/Hermes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Don't silence warnings - Remove TODO and TODO.conversion from DOCS - Strip library graphics/aoi - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/autoq3d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/box - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/boxer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/cbrpager - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbview - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbviewer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/eos-movrec - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change pkg-plist, remove mtree graphics/evolvotron - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters graphics/fracplanet - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS - Change Desktop entry file - Break lines around 80 characters graphics/gnofract4d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/icon-slicer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS - Remove TODO from DOCS graphics/lcdtest - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Simplify dependency for x11-fonts/liberation-fonts-ttf graphics/multican - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/photopc - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/pngcheck - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pngwriter - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pstoedit - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip libraries graphics/skencil - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Strip libraries misc/boxes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Mute RM and MKDIR misc/explosions - Bump PORTREVISION for MAINTAINER change - Remove FTP master site - Reset maintainer to ports@ misc/wmweather+ - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS multimedia/dvdauthor - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS multimedia/dvdid - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library multimedia/freetuxtv - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ multimedia/gtk-youtube-viewer - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters net/wlan2eth - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes
74 lines
1.9 KiB
Makefile
74 lines
1.9 KiB
Makefile
# Created by: Thomas Gellekum <tg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pstoedit
|
|
PORTVERSION= 3.62
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics print
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Convert PostScript to other vector graphic formats
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
|
|
|
|
OPTIONS_DEFINE= DOCS EMF EXAMPLES MAGICK MING PLOTUTILS
|
|
OPTIONS_DEFAULT= EMF MAGICK MING PLOTUTILS
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
EMF_DESC= Enable emf interface
|
|
MING_DESC= Enable swf interface
|
|
PLOTUTILS_DESC= Enable libplot interface
|
|
|
|
USES= pathfix pkgconfig
|
|
USE_GHOSTSCRIPT= yes
|
|
USE_AUTOTOOLS= libtool
|
|
USE_LDCONFIG= yes
|
|
MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/ming -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
EMF_LIB_DEPENDS= libEMF.so:${PORTSDIR}/graphics/libemf
|
|
EMF_CONFIGURE_ON= --with-libemf-include=${LOCALBASE}/include/libEMF
|
|
EMF__CONFIGURE_OFF= --without-emf
|
|
|
|
MAGICK_LIB_DEPENDS= libMagick++.so:${PORTSDIR}/graphics/ImageMagick
|
|
MAGICK_CONFIGURE_ON= --with-magick
|
|
MAGICK_CONFIGURE_OFF= --without-magick
|
|
|
|
MING_LIB_DEPENDS= libming.so:${PORTSDIR}/graphics/ming
|
|
MING_CONFIGURE_ON= --with-swf
|
|
MING_CONFIGURE_OFF= --without-swf
|
|
|
|
PLOTUTILS_LIB_DEPENDS= libplotter.so:${PORTSDIR}/graphics/plotutils
|
|
PLOTUTILS_CONFIGURE_ON= --with-libplot
|
|
PLOTUTILS_CONFIGURE_OFF= --without-libplot
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|CXXFLAGS="-g"|CXXFLAGS="$$CXXFLAGS"|g ; \
|
|
s|GraphicsMagick|Magick|g ; \
|
|
s|=$$OLDCPPFLAGS|=$$CPPFLAGS|g ; \
|
|
s|-lstdc++||g ; \
|
|
s|-pedantic||g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/src/Makefile.in
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${STAGEDIR}${DOCSDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.ps ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|