diff options
Diffstat (limited to 'lang/gforth/Makefile')
-rw-r--r-- | lang/gforth/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lang/gforth/Makefile b/lang/gforth/Makefile index 051c0b7578e..5fe23087cf1 100644 --- a/lang/gforth/Makefile +++ b/lang/gforth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1999/05/24 20:39:43 tv Exp $ +# $NetBSD: Makefile,v 1.4 2000/04/11 06:54:45 itohy Exp $ DISTNAME= gforth-0.4.0 CATEGORIES= lang @@ -7,9 +7,19 @@ MASTER_SITES= ${MASTER_SITE_GNU:=gforth/} MAINTAINER= simonb@netbsd.org HOMEPAGE= http://www.complang.tuwien.ac.at/forth/gforth/ -ONLY_FOR_PLATFORM= *-*-i386 +ONLY_FOR_PLATFORM= *-*-i386 *-*-m68k GNU_CONFIGURE= YES INFO_FILES= gforth.info +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} + .include "../../mk/bsd.pkg.mk" |