summaryrefslogtreecommitdiff
path: root/math/abs/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-02-17 00:32:48 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-02-17 00:32:48 +0000
commit425a3c6f9713cc9ec1eb8cedc11827e7f40d53ee (patch)
tree6de3a4f1bee9efbf3a6870fc68ad2417e1d54f47 /math/abs/Makefile
parentUpdate to 1.3.2. Note, galeon2 now requires mozilla-devel-gtk2. You (diff)
update to abs-0908
PR: 48337 Submitted by: Gianmarco Giovannelli <gmarco@giovannelli.it>
Notes
Notes: svn path=/head/; revision=75674
Diffstat (limited to 'math/abs/Makefile')
-rw-r--r--math/abs/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/abs/Makefile b/math/abs/Makefile
index a6018e965aaf..8bc1d8ac05b5 100644
--- a/math/abs/Makefile
+++ b/math/abs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= abs
-PORTVERSION= 0.8
+PORTVERSION= 0908
CATEGORIES= math
MASTER_SITES= http://www.ping.be/bertin/ \
http://www.giovannelli.it/~gmarco/files/
@@ -16,9 +16,12 @@ MAINTAINER= gmarco@giovannelli.it
USE_XLIB= yes
USE_XPM= yes
+USE_REINPLACE= yes
+WRKSRC= ${WRKDIR}/abs-src-0.908
post-patch:
- @${PERL} -pi -e 's,strcasestr,strcasestr_,' ${WRKSRC}/Database/cell.c
+ @${REINPLACE_CMD} -e 's/trcasestr/strcasestr_/g' < ${WRKSRC}/Database/cell.c >${WRKSRC}/Database/cell.c.new
+ @${MV} ${WRKSRC}/Database/cell.c.new ${WRKSRC}/Database/cell.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/abs ${PREFIX}/bin