Lines 9-15
Link Here
|
9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
10 |
COMMENT= Convert PostScript to other vector graphic formats |
10 |
COMMENT= Convert PostScript to other vector graphic formats |
11 |
|
11 |
|
12 |
LICENSE= GPLv2 |
12 |
LICENSE= GPLv2 # (or later) |
13 |
|
13 |
|
14 |
LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd |
14 |
LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd |
15 |
|
15 |
|
Lines 20-32
Link Here
|
20 |
PLOTUTILS_DESC= Enable libplot interface |
20 |
PLOTUTILS_DESC= Enable libplot interface |
21 |
|
21 |
|
22 |
USE_GNOME= gnomehack |
22 |
USE_GNOME= gnomehack |
23 |
USE_PKGCONFIG= yes |
|
|
24 |
USE_GHOSTSCRIPT= yes |
23 |
USE_GHOSTSCRIPT= yes |
|
|
24 |
USE_PKGCONFIG= build |
25 |
USE_AUTOTOOLS= libtool |
25 |
USE_AUTOTOOLS= libtool |
26 |
USE_LDCONFIG= yes |
26 |
USE_LDCONFIG= yes |
27 |
MAKE_JOBS_UNSAFE=yes |
27 |
MAKE_JOBS_SAFE=yes |
28 |
|
28 |
|
29 |
CFLAGS+= -DHAVE_LIBGD |
|
|
30 |
CPPFLAGS+= -I${LOCALBASE}/include/ming -I${LOCALBASE}/include |
29 |
CPPFLAGS+= -I${LOCALBASE}/include/ming -I${LOCALBASE}/include |
31 |
LDFLAGS+= -L${LOCALBASE}/lib |
30 |
LDFLAGS+= -L${LOCALBASE}/lib |
32 |
|
31 |
|
Lines 35-41
Link Here
|
35 |
.include <bsd.port.options.mk> |
34 |
.include <bsd.port.options.mk> |
36 |
|
35 |
|
37 |
.if ${PORT_OPTIONS:MMAGICK} |
36 |
.if ${PORT_OPTIONS:MMAGICK} |
38 |
LIB_DEPENDS+= Magick++.5:${PORTSDIR}/graphics/ImageMagick |
37 |
LIB_DEPENDS+= Magick++:${PORTSDIR}/graphics/ImageMagick |
39 |
PLIST_SUB+= IMAGEMAGICK="" |
38 |
PLIST_SUB+= IMAGEMAGICK="" |
40 |
.else |
39 |
.else |
41 |
CONFIGURE_ARGS+= --without-magick |
40 |
CONFIGURE_ARGS+= --without-magick |
Lines 43-49
Link Here
|
43 |
.endif |
42 |
.endif |
44 |
|
43 |
|
45 |
.if ${PORT_OPTIONS:MEMF} |
44 |
.if ${PORT_OPTIONS:MEMF} |
46 |
LIB_DEPENDS+= EMF.1:${PORTSDIR}/graphics/libemf |
45 |
LIB_DEPENDS+= EMF:${PORTSDIR}/graphics/libemf |
47 |
CONFIGURE_ARGS+= --with-libemf-include=${LOCALBASE}/include/libEMF |
46 |
CONFIGURE_ARGS+= --with-libemf-include=${LOCALBASE}/include/libEMF |
48 |
PLIST_SUB+= EMF="" |
47 |
PLIST_SUB+= EMF="" |
49 |
.else |
48 |
.else |
Lines 52-58
Link Here
|
52 |
.endif |
51 |
.endif |
53 |
|
52 |
|
54 |
.if ${PORT_OPTIONS:MMING} |
53 |
.if ${PORT_OPTIONS:MMING} |
55 |
LIB_DEPENDS+= ming.5:${PORTSDIR}/graphics/ming |
54 |
LIB_DEPENDS+= ming:${PORTSDIR}/graphics/ming |
56 |
PLIST_SUB+= MING="" |
55 |
PLIST_SUB+= MING="" |
57 |
.else |
56 |
.else |
58 |
CONFIGURE_ARGS+= --without-swf |
57 |
CONFIGURE_ARGS+= --without-swf |
Lines 60-66
Link Here
|
60 |
.endif |
59 |
.endif |
61 |
|
60 |
|
62 |
.if ${PORT_OPTIONS:MPLOTUTILS} |
61 |
.if ${PORT_OPTIONS:MPLOTUTILS} |
63 |
LIB_DEPENDS+= plotter.4:${PORTSDIR}/graphics/plotutils |
62 |
LIB_DEPENDS+= plotter:${PORTSDIR}/graphics/plotutils |
64 |
PLIST_SUB+= PLOTUTILS="" |
63 |
PLIST_SUB+= PLOTUTILS="" |
65 |
.else |
64 |
.else |
66 |
CONFIGURE_ARGS+= --without-libplot |
65 |
CONFIGURE_ARGS+= --without-libplot |