mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
unbreak magicpoint and update to 1.11b
PR: ports/78300 ports/78395 Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
This commit is contained in:
parent
015687d5d8
commit
422afa46e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130330
4 changed files with 48 additions and 13 deletions
|
@ -8,14 +8,10 @@
|
||||||
MASTERDIR= ${.CURDIR}/../../misc/magicpoint
|
MASTERDIR= ${.CURDIR}/../../misc/magicpoint
|
||||||
COMMENT= An X11-based presentation tool, configured with vflib support
|
COMMENT= An X11-based presentation tool, configured with vflib support
|
||||||
|
|
||||||
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
|
||||||
|
|
||||||
CATEGORIES= japanese
|
CATEGORIES= japanese
|
||||||
|
|
||||||
MAINTAINER= mita@jp.FreeBSD.org
|
MAINTAINER= mita@jp.FreeBSD.org
|
||||||
|
|
||||||
# dirty, but this is required for version independent-ness
|
WITH_JAPANESE=yes
|
||||||
CONFIGURE_ARGS= --with-vfontcap=`${LS} -1 ${LOCALBASE}/share/VFlib/*/vfontcap | tail -1`
|
|
||||||
CONFIGURE_ARGS+= --enable-freetype-charset16
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
.include "${MASTERDIR}/Makefile"
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
# "?=" and "+=" are for localized (i.e. Japanese) version
|
# "?=" and "+=" are for localized (i.e. Japanese) version
|
||||||
|
|
||||||
PORTNAME= magicpoint
|
PORTNAME= magicpoint
|
||||||
PORTVERSION= 1.11a
|
PORTVERSION= 1.11b
|
||||||
CATEGORIES+= misc
|
CATEGORIES+= misc
|
||||||
MASTER_SITES= ftp://ftp.mew.org/pub/mgp/
|
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/
|
||||||
|
|
||||||
MAINTAINER?= mita@FreeBSD.org
|
MAINTAINER?= mita@FreeBSD.org
|
||||||
COMMENT?= An X11-based presentation tool
|
COMMENT?= An X11-based presentation tool
|
||||||
|
@ -18,13 +18,14 @@ LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
|
||||||
mng:${PORTSDIR}/graphics/libmng
|
mng:${PORTSDIR}/graphics/libmng
|
||||||
RUN_DEPENDS+= pnmscale:${PORTSDIR}/graphics/netpbm
|
RUN_DEPENDS+= pnmscale:${PORTSDIR}/graphics/netpbm
|
||||||
|
|
||||||
BROKEN= Incomplete pkg-plist
|
|
||||||
|
|
||||||
USE_IMAKE= yes
|
USE_IMAKE= yes
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
USE_FREETYPE= yes
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS?=--disable-vflib
|
|
||||||
|
OPTIONS+= FREETYPE "With FreeType support" on \
|
||||||
|
XFT "With Xft2 support" on \
|
||||||
|
GIF "With gif image support" off \
|
||||||
|
IMLIB "With Imlib exclusive image processing" off
|
||||||
|
|
||||||
MAN1= mgp.1 mgp2ps.1 mgpembed.1 mgpnet.1 xwintoppm.1 xmindpath.1
|
MAN1= mgp.1 mgp2ps.1 mgpembed.1 mgpnet.1 xwintoppm.1 xmindpath.1
|
||||||
|
|
||||||
|
@ -43,6 +44,43 @@ SAMPLE_SCRIPTS= eqn2eps.sh tex2eps.sh mgp2html.pl mgp2latex.pl
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if defined(WITH_FREETYPE)
|
||||||
|
USE_FREETYPE= yes
|
||||||
|
CONFIGURE_ARGS+= --enable-freetype
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-freetype
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_XFT)
|
||||||
|
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
|
||||||
|
CONFIGURE_ARGS+= --enable-xft2
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-xft2
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_GIF)
|
||||||
|
LIB_DEPENDS+= ungif.5:${PORTSDIR}/graphics/libungif
|
||||||
|
CONFIGURE_ARGS+= --enable-gif
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-gif
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_IMLIB)
|
||||||
|
LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
|
||||||
|
CONFIGURE_ARGS+= --enable-imlib
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-imlib
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_JAPANESE)
|
||||||
|
LIB_DEPENDS+= VFlib2.24:${PORTSDIR}/japanese/vflib
|
||||||
|
CONFIGURE_ARGS+= --enable-vflib \
|
||||||
|
--with-vfontcap=`${LS} -1 ${LOCALBASE}/share/VFlib/*/vfontcap | tail -1` \
|
||||||
|
--enable-freetype-charset16
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-vflib
|
||||||
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|varargs.h|stdarg.h|' \
|
@${REINPLACE_CMD} -e 's|varargs.h|stdarg.h|' \
|
||||||
${WRKSRC}/image/rlelib.c
|
${WRKSRC}/image/rlelib.c
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (magicpoint-1.11a.tar.gz) = 9e55166a7793de371803b0c20f965971
|
MD5 (magicpoint-1.11b.tar.gz) = 2b627f17443842eb5009304864577a4c
|
||||||
SIZE (magicpoint-1.11a.tar.gz) = 871606
|
SIZE (magicpoint-1.11b.tar.gz) = 871618
|
||||||
|
|
|
@ -4,6 +4,7 @@ bin/mgpembed
|
||||||
bin/mgpnet
|
bin/mgpnet
|
||||||
bin/xwintoppm
|
bin/xwintoppm
|
||||||
bin/xmindpath
|
bin/xmindpath
|
||||||
|
lib/X11/doc/html/xmindpath.1.html
|
||||||
lib/X11/mgp/default.mgp
|
lib/X11/mgp/default.mgp
|
||||||
lib/X11/mgp/mgp1.jpg
|
lib/X11/mgp/mgp1.jpg
|
||||||
lib/X11/mgp/mgp2.jpg
|
lib/X11/mgp/mgp2.jpg
|
||||||
|
|
Loading…
Add table
Reference in a new issue