summaryrefslogtreecommitdiff
path: root/lang/drscheme/Makefile
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2002-10-15 11:27:11 +0000
committerkei <kei@pkgsrc.org>2002-10-15 11:27:11 +0000
commit6c1697a655dfa5ac31f89c59a094d33af3e1c7c2 (patch)
treeedc3f065e2d27e92c76a7cdb5f216338b0040c1b /lang/drscheme/Makefile
parentfb363eeaa0736b74e89a780e95de7a00803cc6fc (diff)
downloadpkgsrc-6c1697a655dfa5ac31f89c59a094d33af3e1c7c2.tar.gz
fixed some build and installation issue. tested on 1.6D/i386.
- use buildlink2 - it needs MesaLib - added missing entries into PLIST - /usr/local, /usr/pkg --> ${PREFIX} - modified the way of handling LDFLAGS - and some minor stuff
Diffstat (limited to 'lang/drscheme/Makefile')
-rw-r--r--lang/drscheme/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/drscheme/Makefile b/lang/drscheme/Makefile
index 842efd37e50..99113b62110 100644
--- a/lang/drscheme/Makefile
+++ b/lang/drscheme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2002/09/01 16:33:31 jschauma Exp $
+# $NetBSD: Makefile,v 1.10 2002/10/15 11:27:11 kei Exp $
#
DISTNAME= plt.src.x
@@ -17,11 +17,11 @@ COMMENT= R4RS-compilant and nearly R5RS-compliant scheme tailored for teaching
CONFLICTS+= mzscheme-[0-9]*:../../lang/mzscheme
+USE_BUILDLINK2= yes
+USE_X11= yes
USE_GMAKE= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
-LDFLAGS= -L${LOCALBASE}/lib
-CFLAGS= -I${LOCALBASE}/include
ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-*
@@ -32,7 +32,9 @@ post-patch:
${WRKDIR}/plt/bin/background-help-desk \
${WRKDIR}/plt/bin/drscheme \
${WRKDIR}/plt/bin/help-desk \
+ ${WRKDIR}/plt/bin/mred \
${WRKDIR}/plt/bin/mzc \
+ ${WRKDIR}/plt/bin/mzscheme \
${WRKDIR}/plt/bin/setup-plt \
${WRKDIR}/plt/bin/tex2page \
${WRKDIR}/plt/man/man1/mzscheme.1 \
@@ -47,7 +49,7 @@ post-patch:
@${MV} -f ${WRKSRC}/mred/Makefile.in ${WRKSRC}/foo
@${SED} -e 's|@X11PREFIX@|${X11PREFIX}|' < ${WRKSRC}/foo > ${WRKSRC}/mred/Makefile.in
@${RM} -f ${WRKSRC}/foo
- @${RM} -f ${WRKSRC}/../bin/*.orig
+ @${FIND} ${WRKDIR} -name '*.orig' | ${XARGS} ${RM} -f
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/plt/collects
@@ -70,4 +72,5 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/../install ${PREFIX}/lib/plt
@cd ${PREFIX}/lib/plt && ${ECHO} y | ${SH} install
+.include "../../graphics/MesaLib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"