aboutsummaryrefslogtreecommitdiffstats
path: root/devel/crow/Makefile
blob: 4267c394238ba75ffbf6f3ecb58c2b7750b840ad (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
# New ports collection makefile for:    crow
# Date created:     11 May 2007
# Whom:         Yinghong.Liu <liu_yinghong@yahoo.com.cn>
#
# $FreeBSD$
#

PORTNAME=   crow
PORTVERSION=    2.19.0
CATEGORIES= devel gnome
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= ports@FreeBSD.org
COMMENT=    A modern GUI builder for the GTK+ toolkit

BUILD_DEPENDS=  ${LOCALBASE}/include/boost/format.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS=    dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
        guiloader-c++.1:${PORTSDIR}/devel/guiloader-c++ \
        gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
RUN_DEPENDS=    xdg-desktop-menu:${PORTSDIR}/devel/xdg-utils

BROKEN=     Doesn't build with Glibmm 2.25

PROJECTHOST=    nothing-personal
USE_BZIP2=  yes
USE_GNOME=  gnomehack gtk20
USE_GETTEXT=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-hidden-visibility
USE_LDCONFIG=   yes

PLIST_SUB=  VERSION="${PORTVERSION}"

post-patch:
    @${REINPLACE_CMD} -e \
        's|hiddenvisibility|hidden_visibility|' ${WRKSRC}/configure

post-install:
    -@${LOCALBASE}/bin/update-mime-database ${PREFIX}/share/mime

.include <bsd.port.mk>