freebsd-ports/deskutils/drivel/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Koop Mast <kwm@rainbow-runner.nl>
# $FreeBSD$
PORTNAME= drivel
PORTVERSION= 3.0.5
CATEGORIES= deskutils gnome
MASTER_SITES= SF/${PORTNAME}/Drivel%20%28stable%29/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Blog editor for GNOME
LICENSE= GPLv2 # (or later)
LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup
2012-06-01 18:59:20 +02:00
OPTIONS_DEFINE= GTKSPELL
OPTIONS_DEFAULT= GTKSPELL
GTKSPELL_DESC= Enable GtkSpell support
USE_BZIP2= yes
2013-09-03 08:36:41 +02:00
USES= desktop-file-utils gettext gmake shared-mime-info pkgconfig
USE_GNOME= gconf2 gnomedocutils gnomevfs2 gtksourceview2
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --disable-error-on-warning
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
GCONF_SCHEMAS= drivel.schemas
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
2014-02-02 00:59:50 +01:00
GTKSPELL_LIB_DEPENDS= libgtkspell.so:${PORTSDIR}/textproc/gtkspell
GTKSPELL_CONFIGURE_OFF= --without-gtkspell
post-patch:
@${REINPLACE_CMD} -e '/-g2/s|^|#|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|make -C|$$(MAKE) -C|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/-ldl/s|^|#|g' ${WRKSRC}/src/Makefile.in
2012-06-01 18:59:20 +02:00
.include <bsd.port.mk>