Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / graphics / pstoedit / Makefile
blobdf8eebe995fbe9e82f2a599ecd36ac0f6aa06bd9
1 # $NetBSD: Makefile,v 1.66 2013/04/24 10:06:49 sbd Exp $
3 DISTNAME= pstoedit-3.60
4 PKGREVISION= 8
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
11 #LICENSE= gnu-gpl-v2
12 # man page indicates that there are many licenses and one has to read all
13 # the source files
15 MAKE_JOBS_SAFE= no
17 USE_TOOLS+= gs:run pkg-config
19 USE_LIBTOOL= yes
20 USE_LANGUAGES= c c++
21 GNU_CONFIGURE= yes
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
31 BUILD_TARGET=
33 LIBS.SunOS+= -ldl
35 DOCDIR= ${PREFIX}/share/doc/pstoedit
36 HTMLDIR= ${PREFIX}/share/doc/html/pstoedit
37 DOCSRC= ${WRKSRC}/doc
39 INSTALLATION_DIRS= ${DOCDIR} ${HTMLDIR}
41 post-install:
42 for f in ${DOCSRC}/*.htm; do \
43 ${INSTALL_DATA} $${f} ${DESTDIR}${HTMLDIR}; \
44 done
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"