summaryrefslogtreecommitdiff
path: root/math/units
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-12-06 11:38:19 +0000
committerjperkin <jperkin@pkgsrc.org>2012-12-06 11:38:19 +0000
commitb17b53dc8e583cdf15aa1f3ae609d744e2cce357 (patch)
tree555081b2fb5c41657ee3f23bba4dfdd954cbed5e /math/units
parentfd61cb92740bc60c6a0ab08b35c0aa84934f97c1 (diff)
downloadpkgsrc-b17b53dc8e583cdf15aa1f3ae609d744e2cce357.tar.gz
Add PKGGNUDIR support.
Diffstat (limited to 'math/units')
-rw-r--r--math/units/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/math/units/Makefile b/math/units/Makefile
index 99f506f26c3..88c8d7c522b 100644
--- a/math/units/Makefile
+++ b/math/units/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2012/10/27 11:50:42 wen Exp $
+# $NetBSD: Makefile,v 1.8 2012/12/06 11:42:20 jperkin Exp $
DISTNAME= units-2.01
CATEGORIES= math
@@ -20,8 +20,7 @@ INSTALLATION_DIRS= gnu/bin
REPLACE_PYTHON= units_cur
post-install:
- set -e; cd ${DESTDIR}${PREFIX}/gnu/bin; \
- ln -s ../../bin/gunits units
+ ${LN} -sf ${PREFIX}/bin/gunits ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/units
.include "../../devel/readline/buildlink3.mk"
.include "../../lang/python/application.mk"