Thu Feb 2 09:31:42 2012 UTC ()
Use ${RM} -f to avoid failure if no files are found to be removed.


(hans)
diff -r1.92 -r1.93 pkgsrc/editors/TeXmacs/Makefile

cvs diff -r1.92 -r1.93 pkgsrc/editors/TeXmacs/Makefile (expand / switch to unified diff)

--- pkgsrc/editors/TeXmacs/Makefile 2011/11/01 06:01:05 1.92
+++ pkgsrc/editors/TeXmacs/Makefile 2012/02/02 09:31:41 1.93
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.92 2011/11/01 06:01:05 sbd Exp $ 1# $NetBSD: Makefile,v 1.93 2012/02/02 09:31:41 hans Exp $
2 2
3DISTNAME= TeXmacs-1.0.6.15-src 3DISTNAME= TeXmacs-1.0.6.15-src
4PKGNAME= ${DISTNAME:S/-src//} 4PKGNAME= ${DISTNAME:S/-src//}
5PKGREVISION= 10 5PKGREVISION= 10
6CATEGORIES= editors 6CATEGORIES= editors
7MASTER_SITES= ftp://ftp.texmacs.org/pub/TeXmacs/targz/ 7MASTER_SITES= ftp://ftp.texmacs.org/pub/TeXmacs/targz/
8MASTER_SITES+= http://www.texmacs.org/Download/ftp/targz/ 8MASTER_SITES+= http://www.texmacs.org/Download/ftp/targz/
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.texmacs.org/ 11HOMEPAGE= http://www.texmacs.org/
12COMMENT= GNU TeXmacs (free scientific text editor) 12COMMENT= GNU TeXmacs (free scientific text editor)
13 13
14PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
@@ -36,27 +36,27 @@ REPLACE_SH+= plugins/eukleides/bin/tm_e @@ -36,27 +36,27 @@ REPLACE_SH+= plugins/eukleides/bin/tm_e
36REPLACE_SH+= plugins/gnuplot/bin/tm_gnuplot 36REPLACE_SH+= plugins/gnuplot/bin/tm_gnuplot
37REPLACE_SH+= plugins/lisp/bin/tm_lisp 37REPLACE_SH+= plugins/lisp/bin/tm_lisp
38REPLACE_SH+= plugins/lush/bin/tm_lush 38REPLACE_SH+= plugins/lush/bin/tm_lush
39REPLACE_SH+= plugins/matlab/bin/tm_matlab 39REPLACE_SH+= plugins/matlab/bin/tm_matlab
40REPLACE_SH+= plugins/maxima/bin/maxima_detect 40REPLACE_SH+= plugins/maxima/bin/maxima_detect
41REPLACE_SH+= plugins/maxima/bin/tm_maxima 41REPLACE_SH+= plugins/maxima/bin/tm_maxima
42REPLACE_SH+= plugins/mupad/bin/tm_mupad_help 42REPLACE_SH+= plugins/mupad/bin/tm_mupad_help
43REPLACE_SH+= plugins/octave/bin/tm_octave 43REPLACE_SH+= plugins/octave/bin/tm_octave
44REPLACE_SH+= plugins/reduce/bin/tm_reduce 44REPLACE_SH+= plugins/reduce/bin/tm_reduce
45REPLACE_SH+= plugins/xypic/bin/tm_xypic 45REPLACE_SH+= plugins/xypic/bin/tm_xypic
46 46
47pre-install: 47pre-install:
48 ${RM} -f ${WRKSRC}/TeXmacs/doc/devel/format/.log 48 ${RM} -f ${WRKSRC}/TeXmacs/doc/devel/format/.log
49 ${FIND} ${WRKSRC}/plugins/ -name '*.orig' | ${XARGS} ${RM} 49 ${FIND} ${WRKSRC}/plugins/ -name '*.orig' | ${XARGS} ${RM} -f
50 50
51# just a helper script, not worth a full perl dependency 51# just a helper script, not worth a full perl dependency
52CHECK_INTERPRETER_SKIP= libexec/TeXmacs/bin/bbox_add.pl 52CHECK_INTERPRETER_SKIP= libexec/TeXmacs/bin/bbox_add.pl
53# but be friendly and set the path to something reasonable 53# but be friendly and set the path to something reasonable
54REPLACE_INTERPRETER+= optionalperl 54REPLACE_INTERPRETER+= optionalperl
55REPLACE.optionalperl.old= .*perl[^[:space:]]* 55REPLACE.optionalperl.old= .*perl[^[:space:]]*
56REPLACE.optionalperl.new= ${LOCALBASE}/bin/perl 56REPLACE.optionalperl.new= ${LOCALBASE}/bin/perl
57REPLACE_FILES.optionalperl= plugins/feynmf/bin/bbox_add.pl 57REPLACE_FILES.optionalperl= plugins/feynmf/bin/bbox_add.pl
58 58
59BUILDLINK_DEPMETHOD.libXt?= build 59BUILDLINK_DEPMETHOD.libXt?= build
60 60
61.include "../../converters/libiconv/buildlink3.mk" 61.include "../../converters/libiconv/buildlink3.mk"
62.include "../../graphics/freetype2/buildlink3.mk" 62.include "../../graphics/freetype2/buildlink3.mk"