Lines 7-15
Link Here
|
7 |
# "?=" and "+=" are for localized (i.e. Japanese) version |
7 |
# "?=" and "+=" are for localized (i.e. Japanese) version |
8 |
|
8 |
|
9 |
PORTNAME= magicpoint |
9 |
PORTNAME= magicpoint |
10 |
PORTVERSION= 1.11a |
10 |
PORTVERSION= 1.11b |
11 |
CATEGORIES+= misc |
11 |
CATEGORIES+= misc |
12 |
MASTER_SITES= ftp://ftp.mew.org/pub/mgp/ |
12 |
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/ |
13 |
|
13 |
|
14 |
MAINTAINER?= mita@FreeBSD.org |
14 |
MAINTAINER?= mita@FreeBSD.org |
15 |
COMMENT?= An X11-based presentation tool |
15 |
COMMENT?= An X11-based presentation tool |
Lines 18-30
Link Here
|
18 |
mng:${PORTSDIR}/graphics/libmng |
18 |
mng:${PORTSDIR}/graphics/libmng |
19 |
RUN_DEPENDS+= pnmscale:${PORTSDIR}/graphics/netpbm |
19 |
RUN_DEPENDS+= pnmscale:${PORTSDIR}/graphics/netpbm |
20 |
|
20 |
|
21 |
BROKEN= Incomplete pkg-plist |
|
|
22 |
|
23 |
USE_IMAKE= yes |
21 |
USE_IMAKE= yes |
24 |
USE_REINPLACE= yes |
22 |
USE_REINPLACE= yes |
25 |
USE_FREETYPE= yes |
|
|
26 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
27 |
CONFIGURE_ARGS?=--disable-vflib |
24 |
|
|
|
25 |
OPTIONS+= FREETYPE "With FreeType support" on \ |
26 |
XFT "With Xft2 support" on \ |
27 |
GIF "With gif image support" off \ |
28 |
IMLIB "With Imlib exclusive image processing" off |
28 |
|
29 |
|
29 |
MAN1= mgp.1 mgp2ps.1 mgpembed.1 mgpnet.1 xwintoppm.1 xmindpath.1 |
30 |
MAN1= mgp.1 mgp2ps.1 mgpembed.1 mgpnet.1 xwintoppm.1 xmindpath.1 |
30 |
|
31 |
|
Lines 42-47
Link Here
|
42 |
SAMPLE_SCRIPTS= eqn2eps.sh tex2eps.sh mgp2html.pl mgp2latex.pl |
43 |
SAMPLE_SCRIPTS= eqn2eps.sh tex2eps.sh mgp2html.pl mgp2latex.pl |
43 |
|
44 |
|
44 |
.include <bsd.port.pre.mk> |
45 |
.include <bsd.port.pre.mk> |
|
|
46 |
|
47 |
.if defined(WITH_FREETYPE) |
48 |
USE_FREETYPE= yes |
49 |
CONFIGURE_ARGS+= --enable-freetype |
50 |
.else |
51 |
CONFIGURE_ARGS+= --disable-freetype |
52 |
.endif |
53 |
|
54 |
.if defined(WITH_XFT) |
55 |
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft |
56 |
CONFIGURE_ARGS+= --enable-xft2 |
57 |
.else |
58 |
CONFIGURE_ARGS+= --disable-xft2 |
59 |
.endif |
60 |
|
61 |
.if defined(WITH_GIF) |
62 |
LIB_DEPENDS+= ungif.5:${PORTSDIR}/graphics/libungif |
63 |
CONFIGURE_ARGS+= --enable-gif |
64 |
.else |
65 |
CONFIGURE_ARGS+= --disable-gif |
66 |
.endif |
67 |
|
68 |
.if defined(WITH_IMLIB) |
69 |
LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib |
70 |
CONFIGURE_ARGS+= --enable-imlib |
71 |
.else |
72 |
CONFIGURE_ARGS+= --disable-imlib |
73 |
.endif |
74 |
|
75 |
.if defined(WITH_JAPANESE) |
76 |
LIB_DEPENDS+= VFlib2.24:${PORTSDIR}/japanese/vflib |
77 |
CONFIGURE_ARGS+= --enable-vflib \ |
78 |
--with-vfontcap=`${LS} -1 ${LOCALBASE}/share/VFlib/*/vfontcap | tail -1` \ |
79 |
--enable-freetype-charset16 |
80 |
.else |
81 |
CONFIGURE_ARGS+= --disable-vflib |
82 |
.endif |
45 |
|
83 |
|
46 |
post-patch: |
84 |
post-patch: |
47 |
@${REINPLACE_CMD} -e 's|varargs.h|stdarg.h|' \ |
85 |
@${REINPLACE_CMD} -e 's|varargs.h|stdarg.h|' \ |