1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/x11/lxpanel/Makefile
Rong-En Fan 5ab7d66a05 - Fix build on 6.3
PR:		ports/125744
Submitted by:	Cheng-Tao Lin <b89605222 at ntu.edu.tw> (maintainer)
2008-07-19 14:05:36 +00:00

56 lines
1.2 KiB
Makefile

# New ports collection makefile for: lxpanel
# Date created: Sat Oct 7 01:22:35 CST 2006
# Whom: Lin, Cheng-Tao <b89605222@ntu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= lxpanel
PORTVERSION= 0.3.7
CATEGORIES= x11
MASTER_SITES= SF
MASTER_SITE_SUBDIR= lxde
MAINTAINER= b89605222@ntu.edu.tw
COMMENT= LXPanel is a lightweight X11 desktop panel
OPTIONS= ALSA "enable ALSA audio architecture support" Off \
NLS "NLS support" On
USE_XORG= x11 xmu
USE_GNOME= gtk20 gnomedesktop gnomeprefix libgnome
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:110:env
CONFIGURE_ARGS= --prefix=${PREFIX} \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CFLAGS+= -I${WRKSRC}
USE_GMAKE= yes
MAN1= lxpanel.1 lxpanelctl.1
WITH_ALSA= yes
.include <bsd.port.pre.mk>
.if defined(WITH_ALSA)
RUN_DEPENDS+= ${LINUXBASE}/lib/libasound.so.2:${PORTSDIR}/audio/linux-alsa-lib
.else
CONFIGURE_ARGS+=--disable-alsa
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
pre-patch:
@${REINPLACE_CMD} -e 's,linux,sys,' \
${WRKSRC}/src/plugins/volume/volume-impl.c
@${REINPLACE_CMD} -e 's,$$(DATADIRNAME)/locale,share/locale,' \
${WRKSRC}/po/Makefile.in.in
.include <bsd.port.post.mk>