2010-02-15 17:41:46 +01:00
|
|
|
# $NetBSD: Makefile,v 1.23 2010/02/15 16:41:46 joerg Exp $
|
2001-01-19 23:26:59 +01:00
|
|
|
|
2001-06-20 08:53:40 +02:00
|
|
|
DISTNAME= pfthpc21
|
|
|
|
PKGNAME= pforth-21
|
2009-08-29 20:53:57 +02:00
|
|
|
PKGREVISION= 2
|
2001-01-19 23:26:59 +01:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= http://www.softsynth.com/pforth/
|
2001-06-20 08:53:40 +02:00
|
|
|
EXTRACT_SUFX= .zip
|
2001-01-19 23:26:59 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-01-19 23:26:59 +01:00
|
|
|
HOMEPAGE= http://www.softsynth.com/pforth/
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= Portable ANS-like Forth
|
2001-01-19 23:26:59 +01:00
|
|
|
|
2008-03-04 17:38:11 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2006-06-06 20:35:45 +02:00
|
|
|
USE_LANGUAGES= c++
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2001-01-19 23:26:59 +01:00
|
|
|
|
2010-02-15 17:41:46 +01:00
|
|
|
NOT_FOR_PLATFORM= ${LP64PLATFORMS}
|
2002-04-24 05:05:31 +02:00
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2001-01-19 23:26:59 +01:00
|
|
|
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
|
2001-01-19 23:26:59 +01:00
|
|
|
|
|
|
|
do-install:
|
2008-03-04 17:38:11 +01:00
|
|
|
${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
|
2009-08-29 20:53:57 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/docs/* \
|
2008-03-04 17:38:11 +01:00
|
|
|
${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/
|
2001-01-19 23:26:59 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|