aboutsummaryrefslogtreecommitdiff
path: root/x11/lxpanel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lxpanel/Makefile')
-rw-r--r--x11/lxpanel/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/x11/lxpanel/Makefile b/x11/lxpanel/Makefile
index 16a49d943612..8bbdb1770290 100644
--- a/x11/lxpanel/Makefile
+++ b/x11/lxpanel/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: lxpanel
-# Date created: Sat Oct 7 01:22:35 CST 2006
-# Whom: Lin, Cheng-Tao <b89605222@ntu.edu.tw>
-#
+# Created by: Lin, Cheng-Tao <b89605222@ntu.edu.tw>
# $FreeBSD$
-#
PORTNAME= lxpanel
PORTVERSION= 0.5.12
@@ -11,7 +7,7 @@ CATEGORIES= x11
MASTER_SITES= SF/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PORTVERSION}
MAINTAINER= kmoore@FreeBSD.org
-COMMENT= LXPanel is a lightweight X11 desktop panel
+COMMENT= Lightweight X11 desktop panel
LIB_DEPENDS= menu-cache.1:${PORTSDIR}/x11/menu-cache
RUN_DEPENDS= ${LOCALBASE}/share/desktop-directories/lxde-audio-video.directory:${PORTSDIR}/x11/lxmenu-data
@@ -20,7 +16,8 @@ OPTIONS_DEFINE= ALSA NLS
OPTIONS_DEFAULT=NLS
USE_XORG= x11 xmu
-USE_GNOME= gnomehack gtk20 pkgconfig libwnck
+USE_GNOME= gtk20 libwnck
+USES= pathfix pkgconfig
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:env
CONFIGURE_ARGS= --prefix=${PREFIX} \
@@ -32,7 +29,7 @@ USE_GMAKE= yes
MAN1= lxpanel.1 lxpanelctl.1
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MALSA}
RUN_DEPENDS+= ${LINUXBASE}/lib/libasound.so.2:${PORTSDIR}/audio/linux-f10-alsa-lib
@@ -41,7 +38,7 @@ CONFIGURE_ARGS+=--disable-alsa
.endif
.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
+USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
@@ -54,4 +51,4 @@ pre-patch:
@${REINPLACE_CMD} -e 's,$$(DATADIRNAME)/locale,share/locale,' \
${WRKSRC}/po/Makefile.in.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>