diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
commit | 96bc8048c3217bb231f2f30eadeb628134b557f5 (patch) | |
tree | c75d5bd5a6faba5d6ec73da367e4bfe5b0d4285d /math/plplot | |
parent | 637c4e8f19438274164c0673ec85af739aba205b (diff) | |
download | ports-96bc8048c3217bb231f2f30eadeb628134b557f5.tar.gz ports-96bc8048c3217bb231f2f30eadeb628134b557f5.zip |
Notes
Diffstat (limited to 'math/plplot')
-rw-r--r-- | math/plplot/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/math/plplot/Makefile b/math/plplot/Makefile index 1a5f28b022e1..055ff6f3167d 100644 --- a/math/plplot/Makefile +++ b/math/plplot/Makefile @@ -3,7 +3,7 @@ # Date created: 03 Oct 1997 # Whom: Thomas Gellekum <tg@FreeBSD.ORG> # -# $Id: Makefile,v 1.4 1997/12/24 01:21:31 alex Exp $ +# $Id: Makefile,v 1.5 1998/09/27 20:11:17 steve Exp $ # DISTNAME= plplot4p99j @@ -16,15 +16,17 @@ MAINTAINER= tg@FreeBSD.ORG GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gcc=yes --with-double=yes +.include <bsd.port.pre.mk> + post-patch: @perl -pi.bak -e "s|/usr/local/plplot/lib|${PREFIX}/lib/plplot|g;" \ ${WRKSRC}/src/plctrl.c post-install: - if [ "${PORTOBJFORMAT}" = "elf" ]; then \ - ${LN} -sf libplplotdX.so.4 ${PREFIX}/lib/libplplotdX.so; \ - else \ - ${LN} -sf libplplotdX.so.4.99 ${PREFIX}/lib/libplplotdX.so; \ - fi +.if ${PORTOBJFORMAT} == "elf" + ${LN} -sf libplplotdX.so.4 ${PREFIX}/lib/libplplotdX.so +.else + ${LN} -sf libplplotdX.so.4.99 ${PREFIX}/lib/libplplotdX.so +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |