aboutsummaryrefslogtreecommitdiffstats
path: root/math/gexpr/Makefile
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2003-07-14 10:53:03 +0800
committersf <sf@FreeBSD.org>2003-07-14 10:53:03 +0800
commit971087c2b4d6b0b917e3fac3ac1334b04f7c9907 (patch)
tree7181a8316bbb1b7be4386d9173b3c6ace07025da /math/gexpr/Makefile
parent0cc85c09b55a7d94ca1d7c16c8eedae091f2840c (diff)
downloadfreebsd-ports-graphics-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.gz
freebsd-ports-graphics-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.zst
freebsd-ports-graphics-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.zip
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
Diffstat (limited to 'math/gexpr/Makefile')
-rw-r--r--math/gexpr/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/math/gexpr/Makefile b/math/gexpr/Makefile
index 8241d26cc26..987763b0699 100644
--- a/math/gexpr/Makefile
+++ b/math/gexpr/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gexpr
PORTVERSION= 2.0.2
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/math/calc
@@ -15,13 +16,11 @@ MASTER_SITE_SUBDIR= apps/math/calc
MAINTAINER= ijliao@FreeBSD.org
COMMENT= A shell calculator
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
-
+USE_GETOPT_LONG=yes
USE_REINPLACE= yes
+MAKE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
MAN1= gexpr.1
-post-patch:
- @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
-
.include <bsd.port.mk>