svn commit: r344619 - in head/math/gexpr: . files
Danilo Egea Gondolfo
danilo at FreeBSD.org
Sun Feb 16 18:39:00 UTC 2014
Author: danilo
Date: Sun Feb 16 18:38:59 2014
New Revision: 344619
URL: http://svnweb.freebsd.org/changeset/ports/344619
QAT: https://qat.redports.org/buildarchive/r344619/
Log:
- Add stage support
- Improve COMMENT
- Add LICENSE
Modified:
head/math/gexpr/Makefile
head/math/gexpr/files/patch-Makefile
Modified: head/math/gexpr/Makefile
==============================================================================
--- head/math/gexpr/Makefile Sun Feb 16 18:35:45 2014 (r344618)
+++ head/math/gexpr/Makefile Sun Feb 16 18:38:59 2014 (r344619)
@@ -9,12 +9,12 @@ MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/math/calc
MAINTAINER= ports at 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
Modified: head/math/gexpr/files/patch-Makefile
==============================================================================
--- head/math/gexpr/files/patch-Makefile Sun Feb 16 18:35:45 2014 (r344618)
+++ head/math/gexpr/files/patch-Makefile Sun Feb 16 18:38:59 2014 (r344619)
@@ -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
More information about the svn-ports-all
mailing list