1 # Created by: Michael Johnson <ahze@ahze.net>
9 MASTER_SITE_SUBDIR= ${PORTNAME}
11 MAINTAINER= jgh@FreeBSD.org
12 COMMENT= GTK+ based simple text editor
14 USE_GNOME= gtk20 intlhack
15 USES= desktop-file-utils gmake pkgconfig
17 CONFIGURE_ARGS= --enable-chooser
19 CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
20 LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
22 PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
28 NLS_CONFIGURE_ENABLE= nls
30 .include <bsd.port.options.mk>
33 @${CHMOD} a+x ${WRKSRC}/install-sh
36 .if ! ${PORT_OPTIONS:MNLS}
37 @${REINPLACE_CMD} -e 's|SUBDIRS = src data po|SUBDIRS = src data|g' \
42 @${MKDIR} ${STAGEDIR}${DOCSDIR}
43 ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
45 .include <bsd.port.mk>