summaryrefslogtreecommitdiff
path: root/x11/xscribble/Makefile
diff options
context:
space:
mode:
authordanw <danw>2004-05-23 18:31:27 +0000
committerdanw <danw>2004-05-23 18:31:27 +0000
commitbc201b402ee0e421a2a6dedb627ab5a67f01270d (patch)
tree6101561dcb8e594c2782f8f39e3d5c40d24c8096 /x11/xscribble/Makefile
parenta84a0f82feb304d4fd2fb7bc7ef9eb7dea43b475 (diff)
downloadpkgsrc-bc201b402ee0e421a2a6dedb627ab5a67f01270d.tar.gz
darwin fixes (-lmx for additional math functions, malloc.h->stdlib.h,
and change the Imakefile to use a "NoMan" rule since the patch to fake out the man page build on NetBSD doesn't work with darwin's Imake man-page-building rule)
Diffstat (limited to 'x11/xscribble/Makefile')
-rw-r--r--x11/xscribble/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/xscribble/Makefile b/x11/xscribble/Makefile
index e7244b1276e..cfe0b6ed984 100644
--- a/x11/xscribble/Makefile
+++ b/x11/xscribble/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2003/07/17 22:57:03 grant Exp $
+# $NetBSD: Makefile,v 1.8 2004/05/23 18:31:27 danw Exp $
DISTNAME= xscribble
PKGNAME= xscribble-20000616
@@ -13,6 +13,13 @@ COMMENT= Handwriting recognition (like graffiti)
USE_IMAKE= YES
NO_INSTALL_MANPAGES= YES
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+SYS_LIBRARIES= -lmx
+MAKE_ENV+= SYS_LIBRARIES="${SYS_LIBRARIES}"
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xscribble
${INSTALL_DATA} ${WRKSRC}/classifiers/*.cl ${PREFIX}/share/examples/xscribble