Changeset View
Changeset View
Standalone View
Standalone View
net-im/hotot/Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> | # Created by: Alexey Dokuchaev <danfe@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= hotot | PORTNAME= hotot | ||||
PORTVERSION= 0.9.8.14 | PORTVERSION= 0.9.8.14 | ||||
PORTREVISION= 3 | PORTREVISION= 4 | ||||
CATEGORIES= net-im www | CATEGORIES= net-im www | ||||
MAINTAINER= danfe@FreeBSD.org | MAINTAINER= danfe@FreeBSD.org | ||||
COMMENT= Lightweight, flexible microblogging client | COMMENT= Lightweight, flexible microblogging client | ||||
LICENSE= LGPL3 | LICENSE= LGPL3 | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= lyricat | GH_ACCOUNT= lyricat | ||||
GH_PROJECT= Hotot | GH_PROJECT= Hotot | ||||
USES= cmake gettext kde:4 python:2.7 qt:4 | USES= cmake gettext python:2.7 | ||||
USE_GNOME= intltool | USE_GNOME= intltool | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
CFLAGS+= -I${LOCALBASE}/include # does not uphold CPPFLAGS | CFLAGS+= -I${LOCALBASE}/include # does not uphold CPPFLAGS | ||||
LDFLAGS+= -L${LOCALBASE}/lib -lintl | LDFLAGS+= -L${LOCALBASE}/lib -lintl | ||||
OPTIONS_DEFINE= GTK2 QT4 KDE4 | OPTIONS_DEFINE= GTK2 QT4 KDE4 | ||||
OPTIONS_DEFAULT= GTK2 QT4 | OPTIONS_DEFAULT= GTK2 | ||||
KDE4_DESC= KDE 4 integration (implies Qt 4) | KDE4_DESC= KDE 4 integration (implies Qt 4) | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MGTK2} | .if ${PORT_OPTIONS:MGTK2} | ||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/webkit/__init__.py:www/py-webkitgtk \ | RUN_DEPENDS= ${PYTHON_SITELIBDIR}/webkit/__init__.py:www/py-webkitgtk \ | ||||
${PYTHON_SITELIBDIR}/keybinder/__init__.py:x11/keybinder | ${PYTHON_SITELIBDIR}/keybinder/__init__.py:x11/keybinder | ||||
PLIST_SUB+= GTK2="" | PLIST_SUB+= GTK2="" | ||||
.else | .else | ||||
CMAKE_ARGS+= -DWITH_GTK=off | CMAKE_ARGS+= -DWITH_GTK=off | ||||
PLIST_SUB+= GTK2="@comment " | PLIST_SUB+= GTK2="@comment " | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MKDE4} | .if ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MKDE4} | ||||
DEPRECATED= Qt4 has been EOL since december 2015 | |||||
EXPIRATION_DATE= 2019-03-15 | |||||
USES+= kde:4 qt:4 | |||||
USE_QT= moc_build qmake_build rcc_build uic_build \ | USE_QT= moc_build qmake_build rcc_build uic_build \ | ||||
corelib gui sql webkit | corelib gui sql webkit | ||||
PLIST_SUB+= QT4="" | PLIST_SUB+= QT4="" | ||||
.else | .else | ||||
CMAKE_ARGS+= -DWITH_QT=off | CMAKE_ARGS+= -DWITH_QT=off | ||||
INSTALL_TARGET= install | INSTALL_TARGET= install | ||||
PLIST_SUB+= QT4="@comment " | PLIST_SUB+= QT4="@comment " | ||||
.endif | .endif | ||||
Show All 21 Lines |