2000-04-11 08:54:45 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2000/04/11 06:54:45 itohy Exp $
|
1999-04-10 15:56:57 +02:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
DISTNAME= gforth-0.4.0
|
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gforth/}
|
1999-04-10 15:56:57 +02:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
MAINTAINER= simonb@netbsd.org
|
|
|
|
HOMEPAGE= http://www.complang.tuwien.ac.at/forth/gforth/
|
1999-04-10 15:56:57 +02:00
|
|
|
|
2000-04-11 08:54:45 +02:00
|
|
|
ONLY_FOR_PLATFORM= *-*-i386 *-*-m68k
|
1999-04-10 15:56:57 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
INFO_FILES= gforth.info
|
|
|
|
|
2000-04-11 08:54:45 +02:00
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
|
|
|
|
# kernel image filename is arch dependent
|
|
|
|
KERNEL_FI= `cd ${WRKSRC} && (${ECHO} 'prkern:'; ${ECHO} ' @${ECHO} $$(kernel_fi)'; ${ECHO}; ${CAT} Makefile) | ${MAKE} -f - prkern`
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
1999-04-10 15:56:57 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|