aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/tiemu2/Makefile
blob: 34441f9d6fb16574f5cd3f5ad03f9877674bd6a8 (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
# New ports collection makefile for:    TiEmu-2
# Date created:             21 Feb 2006
# Whom:                 Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   tiemu2
PORTVERSION=    2.08
PORTREVISION=   1
CATEGORIES= emulators
MASTER_SITES=   http://www.ticalc.org/pub/unix/ \
        http://freebsd.nsu.ru/distfiles/tiemu/
DISTNAME=   tiemu

MAINTAINER= danfe@FreeBSD.org
COMMENT=    TI89(ti)/92(+)/V200 hand-helds emulator

LIB_DEPENDS=    ticalcs.10:${PORTSDIR}/devel/libticalcs \
        ticables.12:${PORTSDIR}/comms/libticables \
        tifiles.6:${PORTSDIR}/devel/libtifiles

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gtk20 libglade2
USE_X_PREFIX=   yes

MAN1=       tiemu.1

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

post-extract: .SILENT
    ${REINPLACE_CMD} -e 's,\*-\*-linux\*,\*-\*-freebsd\*,' \
        ${WRKSRC}/configure
    ${REINPLACE_CMD} -E 's,(install-data-am:).*$$,\1,' ${WRKSRC}/Makefile.in
    ${REINPLACE_CMD} -e 's,defined(__LINUX__),& || defined(__BSD__),' \
        ${WRKSRC}/src/gui/calc/pckeys.h ${WRKSRC}/src/misc/paths.h

.include <bsd.port.mk>