2007-09-09 07:40:16 +02:00
|
|
|
# New ports collection makefile for: tiemu3
|
|
|
|
# Date created: 13 Aug 2007
|
|
|
|
# Whom: Naram Qashat <cyberbotx@cyberbotx.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tiemu3
|
2008-01-29 11:18:43 +01:00
|
|
|
PORTVERSION= 3.02
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 6
|
2007-09-09 07:40:16 +02:00
|
|
|
CATEGORIES= emulators
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/gtktiemu/tiemu-linux/TiEmu%20${PORTVERSION}
|
2008-01-29 11:18:43 +01:00
|
|
|
DISTNAME= tiemu-${PORTVERSION}
|
2007-09-09 07:40:16 +02:00
|
|
|
|
|
|
|
MAINTAINER= cyberbotx@cyberbotx.com
|
|
|
|
COMMENT= TI89(ti)/92(+)/V200 hand-helds emulator
|
|
|
|
|
2008-01-29 11:18:43 +01:00
|
|
|
LIB_DEPENDS= ticalcs2.7:${PORTSDIR}/comms/libticalcs2 \
|
2007-09-09 07:40:16 +02:00
|
|
|
ticables2.1:${PORTSDIR}/comms/libticables2 \
|
2008-01-29 11:18:43 +01:00
|
|
|
tifiles2.5:${PORTSDIR}/devel/libtifiles2
|
2007-09-09 07:40:16 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -export-dynamic"
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --disable-gdb --mandir=${MANPREFIX}/man
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gtk20 libglade2
|
|
|
|
USE_SDL= sdl
|
|
|
|
|
|
|
|
MAN1= tiemu.1
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2008-01-29 11:18:43 +01:00
|
|
|
.if !defined(WITH_KDE)
|
2007-09-09 07:40:16 +02:00
|
|
|
CONFIGURE_ARGS+= --without-kde
|
|
|
|
.else
|
|
|
|
USE_KDELIBS_VER= 3
|
|
|
|
.endif
|
|
|
|
|
|
|
|
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
|
|
|
|
${REINPLACE_CMD} -e 's|#define GTK_DISABLE_DEPRECATED||g' \
|
|
|
|
${WRKSRC}/src/gui/device.c
|
2007-09-09 07:40:16 +02:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${CHMOD} +x ${WRKSRC}/install-sh
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|