1 # $NetBSD: Makefile,v 1.65 2013/02/16 11:22:23 wiz Exp $
3 DISTNAME
= pstoedit-3.60
5 CATEGORIES
= converters graphics
print
6 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=pstoedit
/}
8 MAINTAINER
= pkgsrc-users@NetBSD.org
9 HOMEPAGE
= http
://www.pstoedit.net
/
10 COMMENT
= Convert PostScript
/ PDF into various vector graphic formats
12 # man page indicates that there are many licenses and one has to read all
17 USE_TOOLS
+= gs
:run pkg-config
22 CONFIGURE_ENV
+= CXXFLAGS
="${CFLAGS} -Dunix"
23 CONFIGURE_ENV
+= ac_cv_path_GS
=${TOOLS_PATH.gs
}
25 # needs libEMF which has build problems on alpha and probably
26 # other 64-bit systems
27 CONFIGURE_ARGS
+=--without-emf
29 CONFIGURE_ARGS
+=--datadir=${PREFIX}/share
30 GNU_CONFIGURE_LIBSUBDIR
=pstoedit
# plugin dir -- unused for now
35 DOCDIR
= ${PREFIX}/share
/doc
/pstoedit
36 HTMLDIR
= ${PREFIX}/share
/doc
/html
/pstoedit
39 INSTALLATION_DIRS
= ${DOCDIR} ${HTMLDIR}
42 for f in
${DOCSRC}/*.htm
; do \
43 ${INSTALL_DATA} $${f} ${DESTDIR}${HTMLDIR}; \
45 ${INSTALL_DATA} ${DOCSRC}/readme.txt
${DESTDIR}${DOCDIR}
47 .
include "../../graphics/gd/buildlink3.mk"
48 .
include "../../graphics/ImageMagick/buildlink3.mk"
49 .
include "../../graphics/plotutils/buildlink3.mk"
50 .
include "../../graphics/png/buildlink3.mk"
51 .
include "../../multimedia/ming/buildlink3.mk"
52 .
include "../../mk/bsd.pkg.mk"