freebsd-ports/emulators/tiemu2/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

40 lines
1.1 KiB
Makefile

# 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= 3
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
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= tiemu.1
post-extract: .SILENT
${RM} ${WRKSRC}/src/Makefile
${REINPLACE_CMD} -e 's,\*-\*-linux\*,\*-\*-freebsd\*, ; \
s|-D.*_DISABLE_DEPRECATED||g' ${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
${REINPLACE_CMD} -e 's|#define .*_DISABLE_DEPRECATED||g' \
${WRKSRC}/src/gui/comm.c
.include <bsd.port.mk>