1 # Created by: Michael Johnson <ahze@ahze.net>
2 # $FreeBSD: editors/leafpad/Makefile 323325 2013-07-19 18:36:42Z jgh $
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
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 .if ${PORT_OPTIONS:MDOCS}
43 @${INSTALL} -d ${DOCSDIR}
44 ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
47 .include <bsd.port.mk>