pkgsrc/lang/gforth/Makefile

26 lines
726 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2000/04/11 06:54:45 itohy Exp $
DISTNAME= gforth-0.4.0
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gforth/}
MAINTAINER= simonb@netbsd.org
HOMEPAGE= http://www.complang.tuwien.ac.at/forth/gforth/
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"