1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- update to 1.0.7.21

- fix build with clang
- use new LIB_DEPENDS syntax
- add LICENSE (GPLv3)
- USE_GMAKE -> USES=gmake
- use stage
- removed post-install chown
- workaround linking with clang (LLVM bug 13992)
- replace share/TeXmacs with %%DATADIR%% in pkg-plist

PR:		186679
Submitted by:	Henry Hu <henry.hu.sh@gmail.com>
This commit is contained in:
Ruslan Makhmatkhanov 2014-02-13 08:56:53 +00:00
parent c97ff48784
commit 0c3441ee25
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344045
5 changed files with 4630 additions and 3963 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= texmacs
PORTVERSION= 1.0.7.14
PORTREVISION= 2
PORTVERSION= 1.0.7.21
CATEGORIES= editors print
MASTER_SITES= ftp://ftp.texmacs.org/TeXmacs/tmftp/source/ \
http://www.predatorlabs.net/dl/
@ -12,37 +11,31 @@ DISTNAME= TeXmacs-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= WYSIWYG scientific text editor
LIB_DEPENDS= guile.21:${PORTSDIR}/lang/guile
LICENSE= GPLv3
LIB_DEPENDS= libguile.so:${PORTSDIR}/lang/guile
USES= gmake shared-mime-info desktop-file-utils
USE_PYTHON= yes
USE_TEX= tex
USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-optimize="${CXXFLAGS}"
MAKE_ARGS= CP="${CP} -R -f"
ALL_TARGET= ${PORTNAME:U}
INSTALL_ICONS= yes
DATADIR= ${PREFIX}/share/TeXmacs
MAN1= texmacs.1 fig2ps.1
MANCOMPRESSED= yes
OPTIONS_DEFINE= FREETYPE GHOSTSCRIPT ICONV IMLIB2 PDF QT4
OPTIONS_DEFAULT= FREETYPE GHOSTSCRIPT ICONV IMLIB2 QT4
PDF_DESC= Experimental PDF renderer
DESKTOP_ENTRIES= "TeXmacs" "${COMMENT}" \
"${DATADIR}/misc/pixmaps/TeXmacs.xpm" "texmacs" \
"Education;Science;" false
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFREETYPE}
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2
CONFIGURE_ARGS+= --with-freetype=linked
.else
CONFIGURE_ARGS+= --without-freetype
@ -93,8 +86,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|qdrawutil.h|qt4/Qt/qdrawutil.h|' \
${WRKSRC}/src/Plugins/Qt/QTMStyle.cpp
post-install:
${CHOWN} -R ${LIBOWN}:${LIBGRP} ${PREFIX}/libexec/TeXmacs
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (TeXmacs-1.0.7.14-src.tar.gz) = c19a49ea35f0e3c83fafa3c81e87e2d955d9cf4f297672eeaa557274a1ab95ae
SIZE (TeXmacs-1.0.7.14-src.tar.gz) = 14963486
SHA256 (TeXmacs-1.0.7.21-src.tar.gz) = 0c945611cd057c4af5f7c2232d19b8129caeef0289fa43a53bab1dabb2d603d2
SIZE (TeXmacs-1.0.7.21-src.tar.gz) = 18712991

View File

@ -0,0 +1,11 @@
--- configure.orig 2013-11-03 18:11:02.000000000 -0500
+++ configure 2014-02-11 02:31:49.000000000 -0500
@@ -7301,7 +7301,7 @@
CONFIG_BSTATIC="-Wl,-Bstatic"
CONFIG_BSHARED="-Wl,-Bdynamic"
CONFIG_BFLAGS=""
-CONFIG_BPATH="-Wl,-rpath,"
+CONFIG_BPATH=""
CONFIG_LDRT=""
CONFIG_WORD_LENGTH="4"
CONFIG_WORD_LENGTH_INC="3"

View File

@ -1,6 +1,6 @@
--- plugins/r/src/tm_r.c.orig 2010-11-24 12:52:55.000000000 -0800
+++ plugins/r/src/tm_r.c 2010-12-12 11:31:52.000000000 -0800
@@ -10,20 +10,22 @@
@@ -10,18 +10,21 @@
******************************************************************************/
#include <stdio.h>
@ -20,7 +20,6 @@
#include <stdlib.h>
#include <signal.h>
#include <string.h>
-#include <util.h>
-#include <sys/types.h>
#include <sys/stat.h>

File diff suppressed because it is too large Load Diff