diff options
author | itohy <itohy@pkgsrc.org> | 2000-04-11 06:54:45 +0000 |
---|---|---|
committer | itohy <itohy@pkgsrc.org> | 2000-04-11 06:54:45 +0000 |
commit | 9ce0337507480302014ddd1546c8f01b6acc3ac8 (patch) | |
tree | a0e97b0237daabd949443270906a87b55ab9a77f /lang/gforth/Makefile | |
parent | 3211c687d5bd90e78868acd8eeab50f3f52705ab (diff) | |
download | pkgsrc-9ce0337507480302014ddd1546c8f01b6acc3ac8.tar.gz |
Port to m68k. Possibly work on other architectures, but not tested.
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" |