2005-04-11 23:44:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2005/04/11 21:46:13 tv Exp $
|
1999-04-10 15:56:57 +02:00
|
|
|
|
2003-12-05 01:26:38 +01:00
|
|
|
DISTNAME= gforth-0.6.2
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 1
|
1999-05-24 22:39:35 +02:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gforth/}
|
2003-12-05 01:26:38 +01:00
|
|
|
MASTER_SITES+= http://www.complang.tuwien.ac.at/forth/gforth/
|
1999-04-10 15:56:57 +02:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= simonb@NetBSD.org
|
1999-05-24 22:39:35 +02:00
|
|
|
HOMEPAGE= http://www.complang.tuwien.ac.at/forth/gforth/
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= Fast interpreter for the Forth language
|
1999-04-10 15:56:57 +02:00
|
|
|
|
2003-03-25 00:36:33 +01:00
|
|
|
ONLY_FOR_PLATFORM= *-*-alpha *-*-i386 *-*-m68k *-*-powerpc *-*-sparc
|
1999-04-10 15:56:57 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
2003-12-05 01:26:38 +01:00
|
|
|
|
2000-05-10 01:33:40 +02:00
|
|
|
# Make sure elisp will be installed even if no emacs installed.
|
|
|
|
CONFIGURE_ENV+= EMACS=${PREFIX}/bin/emacs
|
2003-11-03 19:35:24 +01:00
|
|
|
CFLAGS+= -Dunix
|
2003-12-05 01:26:38 +01:00
|
|
|
INFO_FILES= gforth.info vmgen.info
|
1999-04-10 15:56:57 +02:00
|
|
|
|
2000-04-11 08:54:45 +02:00
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
|
2003-12-05 01:26:38 +01:00
|
|
|
TEST_TARGET= test
|
|
|
|
|
|
|
|
# Kernel image filename is arch dependent
|
2000-04-11 08:54:45 +02:00
|
|
|
KERNEL_FI= `cd ${WRKSRC} && (${ECHO} 'prkern:'; ${ECHO} ' @${ECHO} $$(kernel_fi)'; ${ECHO}; ${CAT} Makefile) | ${MAKE} -f - prkern`
|
|
|
|
|
2003-12-05 01:26:38 +01:00
|
|
|
# XXX Need test.
|
2004-11-26 10:39:30 +01:00
|
|
|
#.include "../../mk/dlopen.buildlink3.mk"
|
2003-12-05 01:26:38 +01:00
|
|
|
|
2000-04-11 08:54:45 +02:00
|
|
|
post-build:
|
|
|
|
@${ECHO}; ${ECHO} building PLIST...
|
|
|
|
@k=${KERNEL_FI} && ${ECHO} "using kernel image: $$k" && \
|
|
|
|
${SED} -e "s/@KERNEL_FI@/$$k/g" <${PKGDIR}/PLIST >${PLIST_SRC}
|
|
|
|
|
2000-05-10 01:33:40 +02:00
|
|
|
pre-install:
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
|
2000-05-10 01:33:40 +02:00
|
|
|
|
2004-05-02 06:59:23 +02:00
|
|
|
.include "../../devel/ffcall/buildlink3.mk"
|
2003-12-05 01:26:38 +01:00
|
|
|
|
1999-04-10 15:56:57 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|