aboutsummaryrefslogtreecommitdiff
path: root/math/gexpr
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-16 18:38:59 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-16 18:38:59 +0000
commit5a53d9b8e0c8187146c39a4ad254402680435c41 (patch)
treee1371aa37d5810776306d3618049300329736a58 /math/gexpr
parent584f6c5f230c6af1e43474f7fd9c497fe949c6df (diff)
downloadports-5a53d9b8e0c8187146c39a4ad254402680435c41.tar.gz
ports-5a53d9b8e0c8187146c39a4ad254402680435c41.zip
Notes
Diffstat (limited to 'math/gexpr')
-rw-r--r--math/gexpr/Makefile8
-rw-r--r--math/gexpr/files/patch-Makefile15
2 files changed, 17 insertions, 6 deletions
diff --git a/math/gexpr/Makefile b/math/gexpr/Makefile
index cdf0b7b58cc7..3316115880ad 100644
--- a/math/gexpr/Makefile
+++ b/math/gexpr/Makefile
@@ -9,12 +9,12 @@ MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/math/calc
MAINTAINER= ports@FreeBSD.org
-COMMENT= A shell calculator
+COMMENT= Shell calculator
-MAN1= gexpr.1
-PLIST_FILES= bin/gexpr
+LICENSE= GPLv2
+
+PLIST_FILES= bin/gexpr man/man1/gexpr.1.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/Makefile
diff --git a/math/gexpr/files/patch-Makefile b/math/gexpr/files/patch-Makefile
index 66a75a976db9..f194ed91f039 100644
--- a/math/gexpr/files/patch-Makefile
+++ b/math/gexpr/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Sat Feb 13 02:28:35 1999
-+++ Makefile Sun Jul 6 20:06:03 2003
+--- ./Makefile.orig 1999-02-12 15:28:35.000000000 -0200
++++ ./Makefile 2014-02-16 15:38:19.000000000 -0300
@@ -1,11 +1,10 @@
# Makefile for gexpr
# Last updated: 10 February 1999
@@ -14,3 +14,14 @@
all: $(GEXPR)
+@@ -31,8 +30,8 @@
+ $(CC) $(OPTS) -c gexpr.c
+
+ install:
+- cp -f gexpr /usr/local/bin;
+- cp -f gexpr.1 /usr/local/man/man1
++ install -s gexpr ${DESTDIR}/usr/local/bin;
++ install gexpr.1 ${DESTDIR}/usr/local/man/man1
+
+ clean:
+ rm -f *.o core