mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
a394cf6ef5
PR: ports/158828 Submitted by: Ivan Klymenko <fidaj@ukr.net> (maintainer) Approved by: bapt (mentor)
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# New ports collection makefile for: cairo-dock
|
|
# Date created: 2010-03-18
|
|
# Whom: Ivan Klymenko <fidaj@ukr.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cairo-dock
|
|
DISTVERSION= 2.3.0~3
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= http://launchpadlibrarian.net/73753213/
|
|
|
|
MAINTAINER= fidaj@ukr.net
|
|
COMMENT= Cairo-Dock is a light and eye-candy dock
|
|
|
|
LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo \
|
|
curl.6:${PORTSDIR}/ftp/curl \
|
|
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
|
|
gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GETTEXT= yes
|
|
USE_GNOME= gnomehack pkgconfig glib20 gtk20 librsvg2 libxml2
|
|
USE_LDCONFIG= yes
|
|
USE_XORG= xrender xtst
|
|
USE_CMAKE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
MAN1= cairo-dock.1
|
|
MANCOMPRESSED= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|libdir}/pkgconfig|prefix}/libdata/pkgconfig| ; s|datadir}/man|prefix}/man|' \
|
|
${WRKSRC}/CMakeLists.txt ${WRKSRC}/src/gldit/CMakeLists.txt
|
|
${REINPLACE_CMD} -e 's,/usr,${PREFIX},g' \
|
|
${WRKSRC}/src/gldit/cairo-dock-gui-factory.c
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if exists(${LOCALBASE}/include/cairo/cairo-glitz.h)
|
|
# Glitz support can only be enabled if cairo is built with glitz support
|
|
CONFIGURE_ARGS+=--enable-glitz
|
|
LIB_DEPENDS+= glitz:${PORTSDIR}/graphics/glitz
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-glitz
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|