aboutsummaryrefslogtreecommitdiff
path: root/textproc/eqe
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-17 11:35:11 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-17 11:35:11 +0000
commit12e74ce7fc77e648ed266bc60ca822ab19f31c26 (patch)
treedd913dfdafdc0ef1e89a11a8274f20708373cca5 /textproc/eqe
parent402d2fc8fbd5174f8d9f09642b4f9acae3d1e3b5 (diff)
downloadports-12e74ce7fc77e648ed266bc60ca822ab19f31c26.tar.gz
ports-12e74ce7fc77e648ed266bc60ca822ab19f31c26.zip
- Add LICENSE
- Add NO_ARCH - Switch to options helpers - Regenerate patches with `make makepatch`
Notes
Notes: svn path=/head/; revision=401811
Diffstat (limited to 'textproc/eqe')
-rw-r--r--textproc/eqe/Makefile6
-rw-r--r--textproc/eqe/files/patch-src-eqedit8
2 files changed, 10 insertions, 4 deletions
diff --git a/textproc/eqe/Makefile b/textproc/eqe/Makefile
index 5be50edd8cc2..0eef7ce22fb7 100644
--- a/textproc/eqe/Makefile
+++ b/textproc/eqe/Makefile
@@ -10,6 +10,9 @@ 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 \
@@ -18,6 +21,7 @@ BUILD_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
USES= perl5 shebangfix tar:bzip2
SHEBANG_FILES= src/eqe src/eqedit
USE_TEX= tex
+NO_ARCH= yes
OPTIONS_DEFINE= DOCS
@@ -34,6 +38,8 @@ post-install:
@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}
diff --git a/textproc/eqe/files/patch-src-eqedit b/textproc/eqe/files/patch-src-eqedit
index 2d1b2b782924..b735e4d6dd94 100644
--- a/textproc/eqe/files/patch-src-eqedit
+++ b/textproc/eqe/files/patch-src-eqedit
@@ -1,6 +1,6 @@
---- 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
{
@@ -14,7 +14,7 @@
}
sub find_template
-@@ -506,7 +506,7 @@
+@@ -506,7 +506,7 @@ sub convert
if (@transparent or @res or not same_ext($in, $out))
{