Index: head/textproc/eqe/Makefile =================================================================== --- head/textproc/eqe/Makefile (revision 401810) +++ head/textproc/eqe/Makefile (revision 401811) @@ -1,42 +1,48 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= eqe PORTVERSION= 1.3.0 PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= http://rlehy.free.fr/ MAINTAINER= ports@FreeBSD.org COMMENT= LaTeX equation editor +LICENSE= GPLv2 # only +LICENSE_FILE= ${WRKSRC}/GPL.txt + BUILD_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \ p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp \ p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \ Magick++-config:${PORTSDIR}/graphics/ImageMagick USES= perl5 shebangfix tar:bzip2 SHEBANG_FILES= src/eqe src/eqedit USE_TEX= tex +NO_ARCH= yes OPTIONS_DEFINE= DOCS MAKE_ARGS= PREFIX=${PREFIX} PORTDOCS= TODO changelog README FAQ copyright post-patch: @${REINPLACE_CMD} -e 's,^\(install:\) install-doc,\1,' \ ${WRKSRC}/Makefile post-install: @pod2man ${WRKSRC}/doc/eqe.pod ${WRKSRC}/doc/eqe.1 @pod2man ${WRKSRC}/doc/eqedit.pod ${WRKSRC}/doc/eqedit.1 ${INSTALL_MAN} ${WRKSRC}/doc/eqe.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/eqedit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/textproc/eqe/files/patch-src-eqedit =================================================================== --- head/textproc/eqe/files/patch-src-eqedit (revision 401810) +++ head/textproc/eqe/files/patch-src-eqedit (revision 401811) @@ -1,25 +1,25 @@ ---- src/eqedit.orig Fri Feb 16 21:52:49 2007 -+++ src/eqedit Fri Feb 16 23:54:34 2007 -@@ -364,10 +364,10 @@ +--- src/eqedit.orig 2015-11-11 17:56:50 UTC ++++ src/eqedit +@@ -364,10 +364,10 @@ exit 0; sub command { - my @com = @_; #(@_, " >> $options->{log} 2>\&1"); + my @com = (@_, " >> $options->{log} 2>\&1"); my $com = join ' ', @com; - $options->verbose and mywarn "executing $com\n"; - redirect_to_log($options->{log}, sub {system @com}) and mydie "command '$com' failed with error code $?"; + $options->verbose and print "executing $com\n"; + system $com and mydie "command '$com' failed with error code $?"; } sub find_template -@@ -506,7 +506,7 @@ +@@ -506,7 +506,7 @@ sub convert if (@transparent or @res or not same_ext($in, $out)) { - command 'convert', '-comment', $comment, @res, @transparent, $in, $out; + command 'convert', @res, @transparent, $in, $out; } elsif ($in ne $out) {