2013-04-22 21:36:24 +02:00
|
|
|
# Created by: Naram Qashat <cyberbotx@cyberbotx.com>
|
2007-09-09 07:40:16 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tiemu3
|
2010-09-05 20:54:05 +02:00
|
|
|
PORTVERSION= 3.03
|
2013-04-22 21:36:24 +02:00
|
|
|
PORTREVISION= 5
|
2007-09-09 07:40:16 +02:00
|
|
|
CATEGORIES= emulators
|
2011-06-16 17:46:36 +02:00
|
|
|
MASTER_SITES= SF/gtktiemu/tiemu-linux/TIEmu%20${DISTVERSION}
|
|
|
|
DISTNAME= tiemu-${DISTVERSION}
|
|
|
|
EXTRACT_SUFX= -nogdb.tar.gz
|
2007-09-09 07:40:16 +02:00
|
|
|
|
|
|
|
MAINTAINER= cyberbotx@cyberbotx.com
|
|
|
|
COMMENT= TI89(ti)/92(+)/V200 hand-helds emulator
|
|
|
|
|
2013-04-22 21:36:24 +02:00
|
|
|
LIB_DEPENDS= ticalcs2:${PORTSDIR}/comms/libticalcs2 \
|
|
|
|
ticables2:${PORTSDIR}/comms/libticables2 \
|
|
|
|
tifiles2:${PORTSDIR}/devel/libtifiles2
|
2007-09-09 07:40:16 +02:00
|
|
|
|
2013-09-03 08:36:41 +02:00
|
|
|
USES= gmake pkgconfig
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2007-09-09 07:40:16 +02:00
|
|
|
USE_GNOME= gtk20 libglade2
|
|
|
|
USE_SDL= sdl
|
|
|
|
|
2011-06-16 17:46:36 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -export-dynamic
|
2010-09-05 20:54:05 +02:00
|
|
|
CONFIGURE_ARGS= --disable-gdb
|
|
|
|
|
2007-09-09 07:40:16 +02:00
|
|
|
MAN1= tiemu.1
|
|
|
|
|
2013-09-20 18:43:52 +02:00
|
|
|
NO_STAGE= yes
|
2014-02-10 14:54:26 +01:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
|
2013-05-06 09:01:48 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2007-09-09 07:40:16 +02:00
|
|
|
PLIST_SUB= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --without-kde
|
|
|
|
|
|
|
|
post-patch: .SILENT
|
|
|
|
${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
|
2007-10-25 18:46:53 +02:00
|
|
|
${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
|
|
|
|
${WRKSRC}/configure
|
2007-09-09 07:40:16 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|