mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
71a499b0fa
Use options helpers Remove usage of HAVE_GNOME
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# Created by: alanp@unixpower.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= logjam
|
|
PORTVERSION= 4.6.2
|
|
PORTREVISION= 4
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= http://andy-shev.github.com/LogJam/download/
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
|
COMMENT= GTK2 interface to livejournals, ie www.livejournal.com
|
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
|
|
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
|
|
|
|
OPTIONS_DEFINE= GTKSPELL SQLITE XMMS GTKHTML RSVG
|
|
OPTIONS_DEFAULT= GTKSPELL
|
|
OPTIONS_SUB= yes
|
|
|
|
GTKSPELL_DESC= Support spell checking
|
|
GTKHTML_DESC= Support rendering HTML
|
|
RSVG_DESC= Support rendering SVG
|
|
SQLITE_DESC= Use sqlite3 as a backend
|
|
XMMS_DESC= Enable XMMS music detection
|
|
|
|
USES= gettext gmake pathfix pkgconfig tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gnomeprefix gtk20 libxml2 intlhack
|
|
CONFIGURE_ARGS= --program-transform-name="s/$$//"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
GTKSPELL_LIB_DEPENDS= libgtkspell.so:${PORTSDIR}/textproc/gtkspell
|
|
GTKSPELL_CONFIGURE_WITH= gtkspell
|
|
|
|
SQLITE_CONFIGURE_WITH= sqlite3
|
|
SQLITE_LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3
|
|
|
|
XMMS_LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms
|
|
XMMS_CONFIGURE_WITH= xmms
|
|
|
|
GTKHTML_USE= GNOME=gtkhtml3
|
|
GTKHTML_CONFIGURE_WITH= gtkhtml
|
|
|
|
RSVG_USE= GNOME=librsvg2
|
|
RSVG_CONFIGURE_WITH= librsvg
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|libgtkhtml-3.0|libgtkhtml-3.18|g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|