blob: aca0f7b06c7de81da97bf576e868f70e3913bcf9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# New ports collection makefile for: tiemu3
# Date created: 13 Aug 2007
# Whom: Naram Qashat <cyberbotx@cyberbotx.com>
#
# $FreeBSD$
#
PORTNAME= tiemu3
PORTVERSION= 3.03
CATEGORIES= emulators
MASTER_SITES= http://tijl.fastmail.fm/mirror/
DISTNAME= tiemu-${PORTVERSION}
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= TI89(ti)/92(+)/V200 hand-helds emulator
LIB_DEPENDS= ticalcs2.8:${PORTSDIR}/comms/libticalcs2 \
ticables2.4:${PORTSDIR}/comms/libticables2 \
tifiles2.6:${PORTSDIR}/devel/libtifiles2
USE_AUTOTOOLS= libtool:22
USE_GMAKE= yes
USE_GNOME= gtk20 libglade2
USE_SDL= sdl
CONFIGURE_ARGS= --disable-gdb
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -export-dynamic"
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>
|