mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
respect PREFIX
This commit is contained in:
parent
bd51824973
commit
e00953f848
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145852
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,7 @@ MASTER_SITE_SUBDIR= apps/math/calc
|
|||
MAINTAINER= ijliao@FreeBSD.org
|
||||
COMMENT= A shell calculator
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_GETOPT_LONG=yes
|
||||
MAKE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
@ -23,4 +24,7 @@ MAKE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
|||
MAN1= gexpr.1
|
||||
PLIST_FILES= bin/gexpr
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue