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

PORTNAME=	crow
PORTVERSION=	2.15.0
PORTREVISION=	2
CATEGORIES=	devel gnome
MASTER_SITES=	SF/${PORTNAME}-designer/${PORTNAME}/${PORTVERSION}

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

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>