1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/emulators/tiemu3/Makefile
Ruslan Makhmatkhanov f2c3174517 - update converters/libticonv to 1.1.3
- update devel/libtifiles2 to 1.1.5
- update comms/libticables2 to 1.3.3
- update comms/libticalcs2 to 1.1.7
- update comms/tilp2 to 1.16
- bump PORTREVISION for emulators/tiemu3
- add LICENSE (GPLv2)

I did this in single commit because this ports are tightly interconnected,
so chanses are good to (temporarily) broke something, committing them
separatedly.

PR:		164024
Submitted by:	Tijl Coosemans <tijl at coosemans dot org> (maintainer)
2012-01-17 19:06:35 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: tiemu3
# Date created: 13 Aug 2007
# Whom: Naram Qashat <cyberbotx@cyberbotx.com>
#
# $FreeBSD$
#
PORTNAME= tiemu3
PORTVERSION= 3.03
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= SF/gtktiemu/tiemu-linux/TIEmu%20${DISTVERSION}
DISTNAME= tiemu-${DISTVERSION}
EXTRACT_SUFX= -nogdb.tar.gz
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= TI89(ti)/92(+)/V200 hand-helds emulator
LIB_DEPENDS= ticalcs2.10:${PORTSDIR}/comms/libticalcs2 \
ticables2.5:${PORTSDIR}/comms/libticables2 \
tifiles2.8:${PORTSDIR}/devel/libtifiles2
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
USE_GNOME= gtk20 libglade2
USE_SDL= sdl
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -export-dynamic
CONFIGURE_ARGS= --disable-gdb
MAN1= tiemu.1
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
.if !defined(WITH_KDE)
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
${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
${WRKSRC}/configure
.include <bsd.port.mk>