1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/x11-wm/emerald/Makefile
Alex Kozlov 08c99f3ad5 - Convert USE_GETTEXT to USES (part 1)
Approved by:	portmgr (bapt)
2013-04-24 07:35:40 +00:00

39 lines
936 B
Makefile

# $FreeBSD$
PORTNAME= emerald
PORTVERSION= 0.8.4
PORTREVISION= 7
CATEGORIES= x11-wm
MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Emerald Window Decorator
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:${PORTSDIR}/x11-wm/compiz
RUN_DEPENDS:= ${BUILD_DEPENDS}
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
USE_GL= gl
USE_BZIP2= yes
USE_GMAKE= yes
USES= pathfix pkgconfig gettext
USE_GNOME= gtk20 libwnck pango
USE_XORG= xrender
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
MAN1= emerald.1 \
emerald-theme-manager.1
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
# XXX - might want to change that
post-patch:
@${REINPLACE_CMD} 's|icons/gnome|icons/hicolor|' ${WRKSRC}/misc/Makefile.in
@${REINPLACE_CMD} -e 's|#define GDK_DISABLE_DEPRECATED||g' \
-e 's|#define GTK_DISABLE_DEPRECATED||g' ${WRKSRC}/include/emerald.h
.include <bsd.port.mk>