summaryrefslogtreecommitdiff
path: root/x11/xscribble
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 16:49:05 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 16:49:05 +0000
commit0cf3c8581ca7973dc8f0ca611654a8c2f85fb075 (patch)
tree07085a113cc5be6e514f59072522119ee8e5f57c /x11/xscribble
parent97efb91df291bc6264269b65c141ea710991c8ca (diff)
downloadpkgsrc-0cf3c8581ca7973dc8f0ca611654a8c2f85fb075.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"