diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-01 16:59:20 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-01 16:59:20 +0000 |
commit | ebdc8740cb89f824afce83e20c29f487f5fffdb1 (patch) | |
tree | 1e21bd11cd298963c7da7054dbb6e9a6e6d1eb1d /deskutils/drivel | |
parent | cb564fb324f294b0ac8ecd9ce88e4d9d4bd0608f (diff) |
Notes
Diffstat (limited to 'deskutils/drivel')
-rw-r--r-- | deskutils/drivel/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/deskutils/drivel/Makefile b/deskutils/drivel/Makefile index c3824db3d541..993718b6a364 100644 --- a/deskutils/drivel/Makefile +++ b/deskutils/drivel/Makefile @@ -16,7 +16,9 @@ COMMENT= Blog editor for GNOME LIB_DEPENDS= soup-2.4.1:${PORTSDIR}/devel/libsoup -OPTIONS= GTKSPELL "Enable GtkSpell support" On +OPTIONS_DEFINE= GTKSPELL +OPTIONS_DEFAULT= GTKSPELL +GTKSPELL_DESC= Enable GtkSpell support LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual @@ -35,12 +37,12 @@ GCONF_SCHEMAS= drivel.schemas CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITHOUT_GTKSPELL) -CONFIGURE_ARGS+= --without-gtkspell -.else +.if ${PORT_OPTIONS:MGTKSPELL} LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell +.else +CONFIGURE_ARGS+= --without-gtkspell .endif post-patch: @@ -48,4 +50,4 @@ post-patch: @${REINPLACE_CMD} -e 's|make -C|$$(MAKE) -C|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/-ldl/s|^|#|g' ${WRKSRC}/src/Makefile.in -.include <bsd.port.post.mk> +.include <bsd.port.mk> |