mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add stage support
- Improve COMMENT - Add LICENSE
This commit is contained in:
parent
584f6c5f23
commit
5a53d9b8e0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344619
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user