forked from Lainports/freebsd-ports
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
PORTNAME= geany
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel editors
|
|
MASTER_SITES= https://download.geany.org/ \
|
|
SF
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= Fast and lightweight GTK IDE
|
|
WWW= https://www.geany.org/
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
|
|
|
|
USES= compiler:c++11-lang desktop-file-utils gettext-tools gmake \
|
|
gnome iconv libtool localbase pathfix pkgconfig python:build \
|
|
shebangfix tar:bzip2
|
|
USE_GNOME= cairo gdkpixbuf2 gtk30 intltool
|
|
USE_LDCONFIG= yes
|
|
|
|
SHEBANG_FILES= scripts/gen-api-gtkdoc.py
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= DOCS NLS THEMES VTE
|
|
OPTIONS_DEFAULT= VTE
|
|
OPTIONS_SUB= yes
|
|
|
|
THEMES_DESC= Additional color schemes
|
|
VTE_DESC= Embedded virtual terminal
|
|
|
|
NLS_USES= gettext-runtime
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
THEMES_RUN_DEPENDS= ${LOCALBASE}/share/geany/colorschemes/bespin.conf:devel/geany-themes
|
|
|
|
VTE_USE= GNOME=vte3
|
|
VTE_CONFIGURE_ENABLE= vte
|
|
|
|
post-patch-DOCS-off:
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile.in
|
|
|
|
post-patch-NLS-off:
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|po||' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|