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
|
2014-12-08 17:48:38 +01:00
|
|
|
PORTREVISION= 8
|
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
|
|
|
|
|
2014-03-25 18:28:57 +01:00
|
|
|
LIB_DEPENDS= libticalcs2.so:${PORTSDIR}/comms/libticalcs2 \
|
|
|
|
libticables2.so:${PORTSDIR}/comms/libticables2 \
|
|
|
|
libtifiles2.so:${PORTSDIR}/devel/libtifiles2
|
2007-09-09 07:40:16 +02:00
|
|
|
|
2014-07-03 02:07:09 +02:00
|
|
|
USES= gmake libtool pkgconfig
|
|
|
|
GNU_CONFIGURE= yes
|
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
|
2014-03-25 18:28:57 +01:00
|
|
|
CONFIGURE_ARGS= --disable-gdb --without-kde
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2014-02-21 14:36:40 +01:00
|
|
|
OPTIONS_DEFINE= NLS
|
2014-03-25 18:28:57 +01:00
|
|
|
OPTIONS_SUB= yes
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2014-03-25 18:28:57 +01:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2007-09-09 07:40:16 +02:00
|
|
|
|
|
|
|
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>
|