summaryrefslogtreecommitdiff
path: root/math/gexpr
diff options
context:
space:
mode:
Diffstat (limited to 'math/gexpr')
-rw-r--r--math/gexpr/Makefile4
-rw-r--r--math/gexpr/files/patch-Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/math/gexpr/Makefile b/math/gexpr/Makefile
index c85306970443..27479626325c 100644
--- a/math/gexpr/Makefile
+++ b/math/gexpr/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gexpr
PORTVERSION= 2.0.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= SUNSITE/apps/math/calc
@@ -11,7 +11,7 @@ LICENSE= GPLv2
CONFLICTS_INSTALL= coreutils # bin/gexpr
-PLIST_FILES= bin/gexpr man/man1/gexpr.1.gz
+PLIST_FILES= bin/gexpr share/man/man1/gexpr.1.gz
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 f194ed91f039..7b034c88d8d0 100644
--- a/math/gexpr/files/patch-Makefile
+++ b/math/gexpr/files/patch-Makefile
@@ -21,7 +21,7 @@
- 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
++ install gexpr.1 ${DESTDIR}/usr/local/share/man/man1
clean:
rm -f *.o core