pkgsrc/lang/pforth/Makefile

46 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.23 2010/02/15 16:41:46 joerg Exp $
DISTNAME= pfthpc21
PKGNAME= pforth-21
PKGREVISION= 2
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
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
2006-06-06 20:35:45 +02:00
USE_LANGUAGES= c++
USE_TOOLS+= gmake
NOT_FOR_PLATFORM= ${LP64PLATFORMS}
INSTALLATION_DIRS= bin
post-extract:
${MKDIR} ${WRKSRC}/objects
post-patch:
2001-04-21 03:19:09 +02:00
${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 ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/pforth
${INSTALL_DATA} ${WRKSRC}/pforth.dic ${DESTDIR}${PREFIX}/lib/pforth
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/pforth
${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/docs/* \
${DESTDIR}${PREFIX}/share/doc/pforth/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/pforth
${INSTALL_DATA} ${WRKSRC}/*.fth ${DESTDIR}${PREFIX}/share/pforth/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/pforth/utils
${INSTALL_DATA} ${WRKSRC}/utils/*.fth \
${DESTDIR}${PREFIX}/share/pforth/utils/
.include "../../mk/bsd.pkg.mk"