blob: c9a1ec03d02a64a1309427bb596b2973a62ca8bd (
plain) (
blame)
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
|
# Created by: gahr
# $FreeBSD$
PORTNAME= fxite
PORTVERSION= 0.9
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= gahr@FreeBSD.org
COMMENT= An advanced cross-platform text editor
LIB_DEPENDS= FOX-1.6:${PORTSDIR}/x11-toolkits/fox16
USE_GETTEXT= yes
USE_LUA= yes
USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
CXXFLAGS+= -g -O0 -fPIC
LDFLAGS+= -L${LOCALBASE}/lib -lintl
CONFIGURE_ARGS+=--with-system-lua \
--with-lua-pkg=lua-${LUA_VER}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800067
LIB_DEPENDS+= getline.1:${PORTSDIR}/devel/libgetline
LDFLAGS+= -lgetline
.endif
PLIST_FILES= bin/fxite \
share/pixmaps/fxite.xpm \
share/applications/fxite.desktop
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.post.mk>
|