diff options
author | Wen Heping <wen@FreeBSD.org> | 2010-12-15 07:06:23 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2010-12-15 07:06:23 +0000 |
commit | 6cddd349b090c246fbb130e7d6f5ce385bd845c7 (patch) | |
tree | 188623440b238ec3998526064ebe1868b357e2c1 /editors/texmacs/Makefile | |
parent | 3e899f56c39a4a53edecb63608010dbfcc852af8 (diff) | |
download | ports-6cddd349b090c246fbb130e7d6f5ce385bd845c7.tar.gz ports-6cddd349b090c246fbb130e7d6f5ce385bd845c7.zip |
Notes
Diffstat (limited to 'editors/texmacs/Makefile')
-rw-r--r-- | editors/texmacs/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/editors/texmacs/Makefile b/editors/texmacs/Makefile index 7015040e4955..003675fb3ed8 100644 --- a/editors/texmacs/Makefile +++ b/editors/texmacs/Makefile @@ -6,7 +6,7 @@ # PORTNAME= texmacs -PORTVERSION= 1.0.7.6 +PORTVERSION= 1.0.7.8 CATEGORIES= editors print MASTER_SITES= ftp://ftp.texmacs.org/pub/TeXmacs/%SUBDIR%/ \ http://www.predatorlabs.net/dl/ @@ -45,19 +45,16 @@ CONFIGURE_ARGS+= --with-imlib2 .include <bsd.port.pre.mk> -.if ${OSVERSION} < 700000 -BROKEN= does not compile -.endif - post-patch: @${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|#!/bin/bash|#!/bin/sh|g' - @${REINPLACE_CMD} -e 's|type -p maxima|which maxima|g' \ - ${WRKSRC}/plugins/maxima/bin/maxima_detect + @${FIND} ${WRKSRC} -name \*.bak -delete @${REINPLACE_CMD} -e 's|ICONV_LDFLAGS/-liconv|ICONV_LDFLAGS|' \ ${WRKSRC}/configure post-install: + ${MKDIR} ${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/TeXmacs/misc/mime/texmacs.desktop ${DESKTOPDIR}/ ${CHOWN} -R ${LIBOWN}:${LIBGRP} ${PREFIX}/libexec/TeXmacs ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/TeXmacs |