Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 13:59:26 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321472 - head/sysutils/lxtask
Message-ID:  <201306211359.r5LDxQFv099897@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Fri Jun 21 13:59:25 2013
New Revision: 321472
URL: http://svnweb.freebsd.org/changeset/ports/321472

Log:
  sysutils/lxtask: minor fixes
  
  - Add LICENSE (GPLv2)
  - Install docs
  - Fix NLS option
  - Rework pkg-descr to be more verbose
  - Give an example for linprocfs in pkg-message
  - Pass maintainership to submitter
  
  PR:		ports/179796
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/sysutils/lxtask/Makefile
  head/sysutils/lxtask/pkg-descr
  head/sysutils/lxtask/pkg-message

Modified: head/sysutils/lxtask/Makefile
==============================================================================
--- head/sysutils/lxtask/Makefile	Fri Jun 21 13:29:08 2013	(r321471)
+++ head/sysutils/lxtask/Makefile	Fri Jun 21 13:59:25 2013	(r321472)
@@ -5,30 +5,47 @@ PORTNAME=	lxtask
 PORTVERSION=	0.1.4
 PORTREVISION=	1
 CATEGORIES=	sysutils gnome
-MASTER_SITES=	SF/lxde/LXTask%20%28task%20manager%29/LXTask%20${PORTVERSION}
+MASTER_SITES=	SF/lxde/LXTask%20%28task%20manager%29/LXTask%20${PORTVERSION}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Lightweight desktop-independent task manager
 
-USE_GNOME=	gtk20 intlhack
-USE_GMAKE=	yes
+LICENSE=	GPLv2
+
 USES=		iconv
+USE_GNOME=	gtk20 intlhack
 GNU_CONFIGURE=	yes
+USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 
+PORTDOCS=	AUTHORS README TODO
+
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
+
+NLS_USES=	gettext
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
+.endif
+
+post-patch:
+.if ! ${PORT_OPTIONS:MNLS}
+	@${REINPLACE_CMD} -e 's|po src|src|' \
+		${WRKSRC}/Makefile.in
 .endif
 
 post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+	@${ECHO_CMD}
 	@${CAT} ${PKGMESSAGE}
+	@${ECHO_CMD}
 
 .include <bsd.port.mk>

Modified: head/sysutils/lxtask/pkg-descr
==============================================================================
--- head/sysutils/lxtask/pkg-descr	Fri Jun 21 13:29:08 2013	(r321471)
+++ head/sysutils/lxtask/pkg-descr	Fri Jun 21 13:59:25 2013	(r321472)
@@ -1,3 +1,5 @@
-lxtask is a lightweight desktop-independent task manager.
+LXTask - lightweight and desktop-independent task manager derived from
+xfce4-taskmanager with all dependencies on xfce removed, new features,
+and some improvement of the user interface.
 
 WWW: http://lxde.sourceforge.net/

Modified: head/sysutils/lxtask/pkg-message
==============================================================================
--- head/sysutils/lxtask/pkg-message	Fri Jun 21 13:29:08 2013	(r321471)
+++ head/sysutils/lxtask/pkg-message	Fri Jun 21 13:59:25 2013	(r321472)
@@ -1,4 +1,14 @@
-******************************************************
-This ports works only if linprocfs is mounted. Ensure
-that linprocfs is mounted before running. 
-*****************************************************
+################################################################################
+
+This program will attempt to obtain some system information by accessing files
+in linprocfs. You must mount linprocfs filesystem for this to work correctly.
+This can be accomplished by adding the following line to your /etc/fstab file:
+
+# Device                Mountpoint              FStype          Options Dump Pass
+linprocfs               /compat/linux/proc      linprocfs       rw      0       0
+
+and then, as root, executing the command:
+
+mount linprocfs
+
+################################################################################



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306211359.r5LDxQFv099897>