blob: 036bf7d8a5c7c27c2cebffc4463d16619e026ef8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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
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>
|