summaryrefslogtreecommitdiff
path: root/lang/ucblogo/Makefile
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2009-12-10 23:42:14 +0000
committerasau <asau@pkgsrc.org>2009-12-10 23:42:14 +0000
commit243d3c005913cd05bdbe9aa3278e7e93b9693597 (patch)
treee64b92652a3b35ee8de8b165e9f625c002a46e7a /lang/ucblogo/Makefile
parent9497270e02aff8b7a6bcebc6d85e5e24c58ee6d2 (diff)
downloadpkgsrc-243d3c005913cd05bdbe9aa3278e7e93b9693597.tar.gz
Support staged installation.
Diffstat (limited to 'lang/ucblogo/Makefile')
-rw-r--r--lang/ucblogo/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/lang/ucblogo/Makefile b/lang/ucblogo/Makefile
index 583851c9d49..54bdc0b4a5f 100644
--- a/lang/ucblogo/Makefile
+++ b/lang/ucblogo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/02/19 19:51:17 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2009/12/10 23:42:14 asau Exp $
DISTNAME= ucblogo-5.3
PKGREVISION= 2
@@ -11,16 +11,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://http.cs.berkeley.edu/~bh/logo.html
COMMENT= Brian Harvey's logo language interpreter
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_FILE= makefile
GNU_CONFIGURE= yes
# otherwise ./configure guesses -L incorrectly
LIBS+= -L${X11BASE}/lib
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucblogo
- ${INSTALL_DATA} ${WRKSRC}/usermanual ${PREFIX}/share/doc/ucblogo/usermanual.txt
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucblogo/html
- ${CP} ${WRKSRC}/emacs/docs/*.html ${PREFIX}/share/doc/ucblogo/html/
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ucblogo
+ ${INSTALL_DATA} ${WRKSRC}/usermanual ${DESTDIR}${PREFIX}/share/doc/ucblogo/usermanual.txt
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ucblogo/html
+ ${CP} ${WRKSRC}/emacs/docs/*.html ${DESTDIR}${PREFIX}/share/doc/ucblogo/html/
BUILDLINK_DEPMETHOD.libXt?= build