aboutsummaryrefslogtreecommitdiffstats
path: root/math/naturalmath
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-07-26 15:33:41 +0800
committeraz <az@FreeBSD.org>2013-07-26 15:33:41 +0800
commit665183f53eb74ec3fb00d82d5e4d998804f85ad2 (patch)
treee2c71147def7c03ff268350288657b4e7692d180 /math/naturalmath
parente80ef1fc474e04a3b1999f45fd39114572d34f44 (diff)
downloadfreebsd-ports-gnome-665183f53eb74ec3fb00d82d5e4d998804f85ad2.tar.gz
freebsd-ports-gnome-665183f53eb74ec3fb00d82d5e4d998804f85ad2.tar.zst
freebsd-ports-gnome-665183f53eb74ec3fb00d82d5e4d998804f85ad2.zip
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@)
Diffstat (limited to 'math/naturalmath')
-rw-r--r--math/naturalmath/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/math/naturalmath/Makefile b/math/naturalmath/Makefile
index 7215f21162f7..58d0c5e14b91 100644
--- a/math/naturalmath/Makefile
+++ b/math/naturalmath/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: naturalmath
-# Date created: 1 November 2001
-# Whom: Stephen Montgomery-Smith
-#
+# Created by: Stephen Montgomery-Smith
# $FreeBSD$
-#
PORTNAME= naturalmath
PORTVERSION= 0.5
@@ -16,9 +12,8 @@ COMMENT= Script to turn intuitively written math into latex
USE_PERL5= yes
USE_TEX= latex:build dvipsk:build
-
-post-patch:
- @${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/naturalmath
+USES= shebangfix
+SHEBANG_FILES= naturalmath
do-build:
(cd ${WRKSRC}; ./naturalmath tutor.nat; \