2018-04-18 00:29:31 +02:00
|
|
|
# $NetBSD: Makefile,v 1.94 2018/04/17 22:29:40 wiz Exp $
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2016-05-16 22:17:10 +02:00
|
|
|
DISTNAME= pstoedit-3.70
|
2018-04-18 00:29:31 +02:00
|
|
|
PKGREVISION= 10
|
2000-07-18 09:46:40 +02:00
|
|
|
CATEGORIES= converters graphics print
|
2005-08-12 21:29:29 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pstoedit/}
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-05-07 15:18:26 +02:00
|
|
|
HOMEPAGE= http://www.pstoedit.net/
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= Convert PostScript / PDF into various vector graphic formats
|
2016-05-16 22:17:10 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2008-09-10 15:59:43 +02:00
|
|
|
# man page indicates that there are many licenses and one has to read all
|
|
|
|
# the source files
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2012-02-22 13:26:33 +01:00
|
|
|
USE_TOOLS+= gs:run pkg-config
|
2005-11-28 07:41:20 +01:00
|
|
|
|
2016-05-16 22:17:10 +02:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
#CONFIGURE_ARGS+= --datadir=${PREFIX}/share
|
2009-03-10 04:29:37 +01:00
|
|
|
# needs libEMF which has build problems on alpha and probably
|
|
|
|
# other 64-bit systems
|
2016-05-16 22:17:10 +02:00
|
|
|
CONFIGURE_ARGS+= --without-emf
|
|
|
|
CONFIGURE_ENV+= CXXFLAGS="${CFLAGS} -Dunix"
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_GS=${TOOLS_PATH.gs}
|
2009-03-10 04:29:37 +01:00
|
|
|
|
2012-01-17 22:43:18 +01:00
|
|
|
GNU_CONFIGURE_LIBSUBDIR=pstoedit # plugin dir -- unused for now
|
2016-05-16 22:17:10 +02:00
|
|
|
#BUILD_TARGET=
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2004-06-15 13:38:00 +02:00
|
|
|
LIBS.SunOS+= -ldl
|
|
|
|
|
2016-05-16 22:17:10 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2016-05-16 22:17:10 +02:00
|
|
|
INSTALLATION_DIRS= ${DOCDIR}
|
2008-06-12 04:14:13 +02:00
|
|
|
|
2000-07-18 09:46:40 +02:00
|
|
|
post-install:
|
2016-05-16 22:17:10 +02:00
|
|
|
for f in ${WRKSRC}/doc/*.htm; do \
|
|
|
|
${INSTALL_DATA} $${f} ${DESTDIR}${DOCDIR}; \
|
2003-05-07 01:03:10 +02:00
|
|
|
done
|
2016-05-16 22:17:10 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/readme.txt ${DESTDIR}${DOCDIR}
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2014-08-14 21:36:04 +02:00
|
|
|
.include "../../archivers/libzip/buildlink3.mk"
|
2016-09-16 16:52:53 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2009-03-10 04:29:37 +01:00
|
|
|
.include "../../graphics/gd/buildlink3.mk"
|
2016-05-16 22:17:10 +02:00
|
|
|
.include "../../graphics/GraphicsMagick/buildlink3.mk"
|
|
|
|
# ImageMagick's v7 API is incompatible
|
|
|
|
#.include "../../graphics/ImageMagick/buildlink3.mk"
|
2004-04-16 00:55:56 +02:00
|
|
|
.include "../../graphics/plotutils/buildlink3.mk"
|
2009-03-10 04:29:37 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2010-04-13 08:53:19 +02:00
|
|
|
.include "../../multimedia/ming/buildlink3.mk"
|
2000-07-18 09:46:40 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|