summaryrefslogtreecommitdiff
path: root/math/graphopt
diff options
context:
space:
mode:
authorasau <asau>2009-12-11 17:47:28 +0000
committerasau <asau>2009-12-11 17:47:28 +0000
commit6b6ff9ed97a0f85ca810d61d995e1fbf57465c8f (patch)
tree2ba7251c7e864480f84e9fbea807a32ba063bafa /math/graphopt
parentf0f179637c84bdb8f0d70a8df7a584718520f008 (diff)
downloadpkgsrc-6b6ff9ed97a0f85ca810d61d995e1fbf57465c8f.tar.gz
Support staged installation.
Diffstat (limited to 'math/graphopt')
-rw-r--r--math/graphopt/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/math/graphopt/Makefile b/math/graphopt/Makefile
index 72c2d704822..983dd2974f7 100644
--- a/math/graphopt/Makefile
+++ b/math/graphopt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2009/07/22 09:01:35 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2009/12/11 17:52:01 asau Exp $
#
DISTNAME= graphopt-0.4.1
@@ -11,12 +11,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/graphopt/
COMMENT= Optimize graph layouts
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/graphopt
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/graphopt
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/graphopt
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/graphopt
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"