mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
289883b11b
* Add PKGNAMESUFFIX and rename the directory. This was done to show that IM6 is not the "main" version. But still fully supported by upstream. * Convert a number of options to optionhelpers. * Add option for ISO/IEC 23008-12:2017 HEIF suport * Add comment to pkg-descr explaining IM6's "legacy" tag. * Add comment to the patch-config_policy.xml file why it still needed. Please note that IM7 is not a drop in replacement due to library API and command arguments changes. And as a result ports need to decide for themself which version to use. Chase these changes in all the ports that using IM6. PR: 225102 (based on, only the version update) [1] Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# 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:x11-toolkits/p5-Gtk2 \
|
|
p5-File-Slurp>=0:devel/p5-File-Slurp \
|
|
p5-Template-Toolkit>=0:www/p5-Template-Toolkit \
|
|
Magick++-config:graphics/ImageMagick6
|
|
|
|
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 <bsd.port.mk>
|