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

PORTNAME=   crow
PORTVERSION=    2.11.0
CATEGORIES= devel gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= crow-designer

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

LIB_PC_DEPENDS= guiloader-c++.pc:${PORTSDIR}/devel/guiloader-c++

LIB_DEPENDS+=   gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
        dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
BUILD_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
RUN_DEPENDS+=   ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g} \
        xdg-desktop-menu:${PORTSDIR}/devel/xdg-utils

USE_BZIP2=  yes
USE_GETTEXT=    yes
GNU_CONFIGURE=  yes
USE_GNOME=  atk glib20 gtk20 pango
USE_GMAKE=  yes

post-patch:
    @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
        ${WRKSRC}/${PORTNAME}/Makefile.in

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
BROKEN=     Fails to compile
.endif

.include <bsd.port.post.mk>