summaryrefslogtreecommitdiff
path: root/graphics/asymptote
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-25 13:37:46 +0000
committerjperkin <jperkin>2016-02-25 13:37:46 +0000
commitbccbbec8e7871e18da507540e2ffe289a27d8fc1 (patch)
tree94113be68a0bce10362d82772b0687bfd2945c82 /graphics/asymptote
parentabcec90f962633389227323bac50622d4197860f (diff)
downloadpkgsrc-bccbbec8e7871e18da507540e2ffe289a27d8fc1.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'graphics/asymptote')
-rw-r--r--graphics/asymptote/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/graphics/asymptote/Makefile b/graphics/asymptote/Makefile
index 79d36a6e5bc..8ae6aaa5006 100644
--- a/graphics/asymptote/Makefile
+++ b/graphics/asymptote/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2015/12/12 20:44:13 markd Exp $
+# $NetBSD: Makefile,v 1.21 2016/02/25 13:37:47 jperkin Exp $
#
DISTNAME= asymptote-2.15
@@ -44,17 +44,14 @@ SUBST_FILES.python= Makefile.in
SUBST_MESSAGE.python= Fixing path to python interpreter.
SUBST_SED.python+= -e "s|/usr/bin/env python|${PYTHONBIN:Q}|g"
+# DragonFly has stripped makeinfo in the base - without texi2dvi.
+OPSYSVARS+= BUILD_DEPENDS
+BUILD_DEPENDS.DragonFly+= gtexinfo-[0-9]*:../../devel/gtexinfo
+
post-install:
${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xasy.1x \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xasy.1
-.include "../../mk/bsd.prefs.mk"
-
-# DragonFly has stripped makeinfo in the base - without texi2dvi.
-.if ${OPSYS} == "DragonFly"
-BUILD_DEPENDS+= gtexinfo-[0-9]*:../../devel/gtexinfo
-.endif
-
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"