# New ports collection makefile for:   lxde-common
# Date created:                2009/02/03
# Whom:                        sahne
#
# $FreeBSD: ports/misc/lxde-common/Makefile,v 1.4 2010/02/05 11:41:36 dinoex Exp $
#

PORTNAME=	lxde-common
PORTVERSION=	0.3.2.1
PORTREVISION=	2
CATEGORIES=	misc
MASTER_SITES=	SF/lxde/${PORTNAME}%20%28default%20config%29/LXDE%20Common%20${PORTVERSION}

MAINTAINER=	sahne@0x90.at
COMMENT=	LXDE Common files

USE_BZIP2=	YES
USE_GNOME=	gtk20
USE_GMAKE=	yes
USE_ICONV=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib" \
		GMSGFMT="${LOCALBASE}/bin/msgfmt" \
		--with-xsession-path=${PREFIX}/share/xsessions

DATADIR=	${PREFIX}/share/lxde
INSTALLS_ICONS=	YES

MAN1=	startlxde.1\
	lxde-logout.1

post-patch:
	${RM} ${WRKSRC}/Makefile.in.orig
	${RM} ${WRKSRC}/icon-theme/Makefile.in.orig

.include <bsd.port.mk>
