- Add stage support

- Improve COMMENT
- Add LICENSE
This commit is contained in:
Danilo Egea Gondolfo 2014-02-16 18:38:59 +00:00
parent 584f6c5f23
commit 5a53d9b8e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344619
2 changed files with 17 additions and 6 deletions

View File

@ -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

View File

@ -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