aboutsummaryrefslogtreecommitdiffstats
path: root/x11/keybinder/Makefile
blob: cc02d188343696a4fb5d5d3f2db22c2be561e1f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# $FreeBSD$
#

PORTNAME=   keybinder
PORTVERSION=    0.3.0
PORTREVISION=   1
CATEGORIES= x11
MASTER_SITES=   http://kaizer.se/publicfiles/${PORTNAME}/

MAINTAINER= olivierd@FreeBSD.org
COMMENT=    Library for registering keyboard shortcuts

BUILD_DEPENDS=  g-ir-scanner:${PORTSDIR}/devel/gobject-introspection

LICENSE=    GPLv2

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack gtk20
USE_XORG=   x11 xext xrender
USE_PKGCONFIG=  build
USE_LDCONFIG=   yes

OPTIONS_DEFINE= PYTHON LUA
OPTIONS_DEFAULT=    PYTHON

# Override LUA description
LUA_DESC=   Lua bindings

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPYTHON}
USE_PYTHON= yes
USE_GNOME+= pygtk2
PLIST_SUB+= PYTHON=""
.else
CONFIGURE_ARGS+=    --disable-python
PLIST_SUB+= PYTHON="@comment "
.endif

.if ${PORT_OPTIONS:MLUA}
USE_LUA=    5.1+
CONFIGURE_ARGS+=    --with-lua-includes=${LUA_INCDIR}
PLIST_SUB+= LUA=""
.else
CONFIGURE_ARGS+=    --disable-lua
PLIST_SUB+= LUA="@comment "
.endif

.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= gtkdoc-check:${PORTSDIR}/textproc/gtk-doc
CONFIGURE_ARGS+=--enable-gtk-doc \
    --with-html-dir=${PREFIX}/share/gtk-doc/html
PLIST_SUB+= DOCS=""
.else
CONFIGURE_ARGS+=--disable-gtk-doc-html \
    --without-html-dir
PLIST_SUB+= DOCS="@comment "
.endif

post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
    @${REINPLACE_CMD} -i '' -e 's|lua5.1|lua-5.1|g' ${WRKSRC}/examples/Makefile
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>
003-02-21 16:59:07 +0800'>2003-02-211-0/+13 * Uncomment gimp-manual-ps, INDEX builds are believed to be fixed.Dmitry Sivachenko2003-02-211-1/+1 * Fix a bogus BUILD_DEPENDS entry that was breaking make index.Akinori MUSHA2003-02-211-1/+1 * Fix INDEX build (my fault).Dmitry Sivachenko2003-02-211-1/+5 * De-pkg-comment.Akinori MUSHA2003-02-211-1/+0 * De-pkg-comment the ruby ports that are not maintainered by ports committers.Akinori MUSHA2003-02-217-4/+3 * De-pkg-comment.Akinori MUSHA2003-02-212-4/+3 * - Update to 0.6Dirk Meyer2003-02-213-27/+2 * Finish removing wmshutdownKris Kennaway2003-02-211-1/+0 * Fix a bug where Galeon would not launch helper apps after files wereJoe Marcus Clarke2003-02-212-0/+28 * - retire pkg-commentDirk Meyer2003-02-214-2/+2 * - retire pkg-commentDirk Meyer2003-02-212-2/+0 * - Add COMMENTDirk Meyer2003-02-212-0/+2 * - retire pkg-commentDirk Meyer2003-02-2183-83/+0 * Fix building.Vanilla I. Shu2003-02-212-2/+2 * Comment out gimp-manual-ps, which is breaking INDEX build.Kris Kennaway2003-02-211-1/+1 * Correct the LIB_DEPENDS.Joe Marcus Clarke2003-02-211-1/+1 * N-MAINTAINER UPDATE] net/poink 1.5 -> 1.6Yen-Ming Lee2003-02-212-3/+6 * add an option to use the UTF-8 code in pcreYen-Ming Lee2003-02-211-0/+4 * Update to latest version 3.0.4.Yen-Ming Lee2003-02-213-3/+6 * add tptestYen-Ming Lee2003-02-218-0/+113 * - pkg-comment is no longer mandatory;Maxim Sobolev2003-02-211-1/+5 * New port kmldonkey version 0.3: KDE integration for MLDonkey eDonkeyMario Sergio Fujikawa Ferreira2003-02-219-0/+177 * Update to version 1.0.6.Archie Cobbs2003-02-2120-51/+282 * List my FreeBSD.org address.Gerald Pfeifer2003-02-212-2/+2 * Add mplayerplug-in, a Mozilla plugin that uses MPlayer to play videos onJoe Marcus Clarke2003-02-216-0/+49 * Add patch that I've forgot in the previous commit.Maxim Sobolev2003-02-211-0/+13 * When saving file do fflush/fsync, so that its content isn't lost if machineMaxim Sobolev2003-02-211-0/+14 * Add qemacs, Quick Emacs, a very small but powerful editorTilman Keskinoz2003-02-216-0/+91 * * Re-add libgnomeprintui-2.0 supportJoe Marcus Clarke2003-02-212-4/+4 * Add a RUN_DEPENDS on fontconfig as well.Joe Marcus Clarke2003-02-211-0/+1 * Looks like we do need fc-cache since the cache files seem to vary slightlyJoe Marcus Clarke2003-02-213-13/+7 * Allow overriding MAINTAINER and COMMENT.Akinori MUSHA2003-02-211-2/+2 * Add MAINTAINER=ports@FreeBSD.org and de-pkg-comment.Akinori MUSHA2003-02-2114-10/+22 * s/MAINTAINE/MAINTAINER/ and de-pkg-comment.Akinori MUSHA2003-02-212-2/+2 * De-pkg-comment.Hajimu UMEMOTO2003-02-2128-14/+14 * De-pkg-comment.Oliver Braun2003-02-2110-5/+5 * De-pkg-comment.Akinori MUSHA2003-02-2181-46/+59 * De-pkg-comment.Akinori MUSHA2003-02-21648-325/+324 * - Add COMMENTDirk Meyer2003-02-211-0/+1 * Correct dependency directory in last commit.Joe Marcus Clarke2003-02-211-1/+1 * * Re-add support for libgnomeprint[ui]-2.0Joe Marcus Clarke2003-02-212-3/+2 * * Re-add libgnomeprint[ui]-2.0 support and unbreakJoe Marcus Clarke2003-02-2112-248/+12 * De-pkg-comment.Akinori MUSHA2003-02-211413-711/+710 * Re-add libgnomeprintui-2.0 for ports that will need it:Joe Marcus Clarke2003-02-216-0/+131 * Re-add libgnomeprint-2.0 for ports that will need it:Joe Marcus Clarke2003-02-219-0/+241 * De-pkg-comment and fix the comments.Akinori MUSHA2003-02-2120-11/+11 * - add COMMENTDirk Meyer2003-02-2181-0/+81 * Unbreak on -current: use INT_MAX instead of MAXINT.Maxim Sobolev2003-02-211-0/+23 * Actually enable all those nifty new features.Christian Weisgerber2003-02-211-0/+2 * De-pkg-comment.Akinori MUSHA2003-02-2126-12/+14 * Update to 1.0.11.Joe Marcus Clarke2003-02-215-57/+18 * de-pkg-commentAkinori MUSHA2003-02-21360-180/+180 * * Update to 0.10.22Joe Marcus Clarke2003-02-214-3/+6 * Use USE_GNOMENG and drop maintainership.Maxim Sobolev2003-02-211-8/+3 * USE_PERL is superfluous because PERL_CONFIGURE implies it.Maxim Sobolev2003-02-211-1/+0 * Use USE_JAVA.Maxim Sobolev2003-02-211-5/+3 * Use tk83 instead of tk82.Maxim Sobolev2003-02-211-1/+1 * De-pkg-comment.Akinori MUSHA2003-02-21301-149/+152 * De-pkg-comment.Akinori MUSHA2003-02-21118-68/+60 * De-pkg-comment.Akinori MUSHA2003-02-2159-31/+32 * De-pkg-comment.Akinori MUSHA2003-02-21