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
commit36dd63295e9b198aa197cdd42610940fc01bdf41 (patch)
tree2ba7251c7e864480f84e9fbea807a32ba063bafa /math/graphopt
parent073c7a871ee027f2c96a9336a0c1f301db523c84 (diff)
downloadpkgsrc-36dd63295e9b198aa197cdd42610940fc01bdf41.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"