summaryrefslogtreecommitdiff
path: root/x11/xscribble
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 16:49:05 +0000
committerjoerg <joerg>2009-07-07 16:49:05 +0000
commitef7671ddcfa5f97cf580d32f84c1a0ff6ea1c649 (patch)
tree07085a113cc5be6e514f59072522119ee8e5f57c /x11/xscribble
parente523bb3255587eb94ea2a9e1daf1b03292f7f83e (diff)
downloadpkgsrc-ef7671ddcfa5f97cf580d32f84c1a0ff6ea1c649.tar.gz
user-destdir support
Diffstat (limited to 'x11/xscribble')
-rw-r--r--x11/xscribble/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11/xscribble/Makefile b/x11/xscribble/Makefile
index 3e72be53c2d..b96f573ddc9 100644
--- a/x11/xscribble/Makefile
+++ b/x11/xscribble/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2009/06/30 00:07:25 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2009/07/07 16:53:43 joerg Exp $
DISTNAME= xscribble
PKGNAME= xscribble-20000616
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.handhelds.org/projects/xscribble.html
COMMENT= Handwriting recognition (like graffiti)
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
USE_IMAKE= YES
@@ -23,9 +25,10 @@ SYS_LIBRARIES= -lmx
MAKE_ENV+= SYS_LIBRARIES=${SYS_LIBRARIES:Q}
.endif
+INSTALLATION_DIRS= share/examples/xscribble
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xscribble
- ${INSTALL_DATA} ${WRKSRC}/classifiers/*.cl ${PREFIX}/share/examples/xscribble
+ ${INSTALL_DATA} ${WRKSRC}/classifiers/*.cl ${DESTDIR}${PREFIX}/share/examples/xscribble
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"