pkgsrc/lang/pforth/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2006/03/04 21:29:55 jlam Exp $
DISTNAME= pfthpc21
PKGNAME= pforth-21
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.softsynth.com/pforth/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.softsynth.com/pforth/
COMMENT= Portable ANS-like Forth
WRKSRC= ${WRKDIR}
USE_TOOLS+= gmake
MAKEFILE= ${WRKSRC}/makefile
NOT_FOR_PLATFORM= *-*-alpha #segfaults when running ./pforth during build
INSTALLATION_DIRS= bin
post-extract:
${MKDIR} ${WRKSRC}/objects
post-patch:
${MV} ${WRKSRC}/csrc/pf_main.c ${WRKSRC}/csrc/pf_main.c.dist
${SED} -e 's:@PREFIX@:${PREFIX}:g' ${WRKSRC}/csrc/pf_main.c.dist \
> ${WRKSRC}/csrc/pf_main.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pforth ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/lib/pforth
${INSTALL_DATA} ${WRKSRC}/pforth.dic ${PREFIX}/lib/pforth
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pforth
${INSTALL_DATA} ${WRKSRC}/readme.txt ${WRKSRC}/docs/* \
${PREFIX}/share/doc/pforth/
${INSTALL_DATA_DIR} ${PREFIX}/share/pforth
${INSTALL_DATA} ${WRKSRC}/*.fth ${PREFIX}/share/pforth/
${INSTALL_DATA_DIR} ${PREFIX}/share/pforth/utils
${INSTALL_DATA} ${WRKSRC}/utils/*.fth ${PREFIX}/share/pforth/utils/
.include "../../mk/bsd.pkg.mk"