aboutsummaryrefslogtreecommitdiffstats
path: root/devel/guikachu/Makefile
blob: ce77f40ec2ce5e0f18fcc1192132a03d5888ae1f (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
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$

PORTNAME=   guikachu
PORTVERSION=    1.5.10
PORTREVISION=   5
PORTEPOCH=  3
CATEGORIES= devel palm gnome
MASTER_SITES=   http://cactus.rulez.org/projects/guikachu/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Resource editor for PalmOS(tm) systems

LIB_DEPENDS=    gnomeuimm-2.6.1:${PORTSDIR}/x11-toolkits/libgnomeuimm26 \
        gnomevfsmm-2.6.1:${PORTSDIR}/devel/gnome-vfsmm

USES=       gmake pkgconfig
USE_GNOME=  gnomeprefix gnomehack intlhack libgnomeui
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

GCONF_SCHEMAS=  guikachu-form-editor.schemas guikachu-interface.schemas \
        guikachu-mainwin.schemas

#XXX mime vs mime-info
NO_STAGE=   yes
#post-patch:
#   @${REINPLACE_CMD} -e '/mime_packagedir/s|(mimedir)|(prefix)/share/mime|' \
#       -e '/(UPDATE_MIME)/s|(mimedir)|(prefix)/share/mime|' \
#       ${WRKSRC}/data/Makefile.in

post-patch:
    @${REINPLACE_CMD} -e 's|glib/gwin32.h>|glib.h>|g' \
        ${WRKSRC}/src/ui.cc

.include <bsd.port.mk>