aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-06-21 21:59:25 +0800
committerwg <wg@FreeBSD.org>2013-06-21 21:59:25 +0800
commitd8339fe94ae5f99fe809ada4758949f096a3fba4 (patch)
tree384154def84388268d0aa94735ce3338f7bebec8
parentc69dcce9a64dbb720f19cf05c95cd96155d06cc7 (diff)
downloadfreebsd-ports-gnome-d8339fe94ae5f99fe809ada4758949f096a3fba4.tar.gz
freebsd-ports-gnome-d8339fe94ae5f99fe809ada4758949f096a3fba4.tar.zst
freebsd-ports-gnome-d8339fe94ae5f99fe809ada4758949f096a3fba4.zip
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>
-rw-r--r--sysutils/lxtask/Makefile35
-rw-r--r--sysutils/lxtask/pkg-descr4
-rw-r--r--sysutils/lxtask/pkg-message18
3 files changed, 43 insertions, 14 deletions
diff --git a/sysutils/lxtask/Makefile b/sysutils/lxtask/Makefile
index 6c2a9309776c..9600b3cdbacf 100644
--- a/sysutils/lxtask/Makefile
+++ b/sysutils/lxtask/Makefile
@@ -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>
diff --git a/sysutils/lxtask/pkg-descr b/sysutils/lxtask/pkg-descr
index 551e5d6d30ea..f30509f82089 100644
--- a/sysutils/lxtask/pkg-descr
+++ b/sysutils/lxtask/pkg-descr
@@ -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/
diff --git a/sysutils/lxtask/pkg-message b/sysutils/lxtask/pkg-message
index e8f04187b5e7..8be9eb26e2f0 100644
--- a/sysutils/lxtask/pkg-message
+++ b/sysutils/lxtask/pkg-message
@@ -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
+
+################################################################################