freebsd-ports/devel/hptools/Makefile
Maho Nakata de840348fe Added a new port: devel/hptools
Latest version of the System RPL and saturn assembler tools for
HP 48/49 and maybe even 28 series of calculators.

PR:		53885
Submitted by:	Pedro F. Giffuni <giffunip@yahoo.com>
2003-07-28 00:11:02 +00:00

42 lines
1 KiB
Makefile

# New ports collection makefile for: hp48tools
# Date created: June 2003
# Whom: giffunip@asme.org
#
# $FreeBSD$
#
PORTNAME= hptools
PORTVERSION= 3.0.8
CATEGORIES= devel
MASTER_SITES= http://www.hpcalc.org/hp48/pc/programming/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= System RPL and assembly language tools for HP Calculators
WRKSRC= ${WRKDIR}/Hptools/${CONFIGURE_TARGET}
GNU_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_SCRIPT= ../support/configure
NO_CDROM= 'Commercial use is Prohibited'
pre-patch:
@${REINPLACE_CMD} -e 's,macintosh,__STDC__,' \
${WRKDIR}/Hptools/common/envfile.c \
${WRKDIR}/Hptools/rplcomp/defer.c \
${WRKDIR}/Hptools/rplcomp/masd.c
pre-configure:
@(${MKDIR} ${WRKSRC})
post-install:
@${STRIP_CMD} ${PREFIX}/bin/makerom ${PREFIX}/bin/rplcomp \
${PREFIX}/bin/sasm ${PREFIX}/bin/sload
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/Hptools/doc/*.DOC ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/Hptools/doc/*.pdf ${DOCSDIR}
.endif
.include <bsd.port.mk>