aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2015-09-03 07:15:47 +0800
committervanilla <vanilla@FreeBSD.org>2015-09-03 07:15:47 +0800
commit4fcc773a61ff66a0baf43c3e54c77848b0cb3adf (patch)
treea5e4c9ceb5ff7b64559a1c2c87980ab006623ea7 /x11-wm
parente6f187292eefe791167e93edb05a258d76db8558 (diff)
downloadfreebsd-ports-gnome-4fcc773a61ff66a0baf43c3e54c77848b0cb3adf.tar.gz
freebsd-ports-gnome-4fcc773a61ff66a0baf43c3e54c77848b0cb3adf.tar.zst
freebsd-ports-gnome-4fcc773a61ff66a0baf43c3e54c77848b0cb3adf.zip
1: Upgrade to 1.4.8.
2: add LICENSE. 3: use ports helper function. PR: 201180 Submitted by: Ports Fury.
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/ratpoison/Makefile39
-rw-r--r--x11-wm/ratpoison/distinfo4
-rw-r--r--x11-wm/ratpoison/pkg-descr17
-rw-r--r--x11-wm/ratpoison/pkg-plist14
4 files changed, 42 insertions, 32 deletions
diff --git a/x11-wm/ratpoison/Makefile b/x11-wm/ratpoison/Makefile
index 242446b766df..7e1cd9c43d69 100644
--- a/x11-wm/ratpoison/Makefile
+++ b/x11-wm/ratpoison/Makefile
@@ -2,35 +2,46 @@
# $FreeBSD$
PORTNAME= ratpoison
-PORTVERSION= 1.4.6
+PORTVERSION= 1.4.8
CATEGORIES= x11-wm
-MASTER_SITES= SAVANNAH http://mirror.4bit.ws/
+MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple window manager with no fat library dependencies
-USE_XORG= xext xinerama xtst
+LICENSE= GPLv2 # (or later)
+
+USES= pkgconfig
+USE_XORG= ice x11 xext xinerama xtst
GNU_CONFIGURE= yes
-OPTIONS_DEFINE= GDM_SUPPORT DOCS
-GDM_SUPPORT_DESC= Install session data files for GDM
+SUB_FILES= ratpoison.desktop
INFO= ratpoison
-SUB_FILES= ratpoison.desktop
+
+OPTIONS_DEFINE= DOCS GDM_SUPPORT READLINE XFT
+OPTIONS_DEFAULT= READLINE XFT
+OPTIONS_SUB= yes
+
+GDM_SUPPORT_DESC= Install session data files for GDM
+READLINE_USES= readline
+READLINE_CONFIGURE_ENABLE= history
+XFT_USE= xorg=xft
+XFT_CONFIGURE_WITH= xft
.include <bsd.port.options.mk>
post-patch:
- ${REINPLACE_CMD} -e 's|bash|sh|g' ${WRKSRC}/contrib/allwindows.sh
-
-.if ${PORT_OPTIONS:MGDM_SUPPORT}
-PLIST_SUB+= WITH_GDM=""
+ @${REINPLACE_CMD} -e \
+ '/^doc_DATA/s|COPYING||' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e \
+ 's|$$(lispdir)|$$(pkgdatadir)|' ${WRKSRC}/contrib/Makefile.in
post-install:
- @${MKDIR} ${PREFIX}/etc/dm/Sessions
- ${INSTALL_DATA} ${WRKDIR}/ratpoison.desktop ${STAGEDIR}${PREFIX}/etc/dm/Sessions
-.else
-PLIST_SUB+= WITH_GDM="@comment "
+.if ${PORT_OPTIONS:MGDM_SUPPORT}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/dm/Sessions
+ (cd ${WRKDIR} && ${INSTALL_DATA} ratpoison.desktop \
+ ${STAGEDIR}${PREFIX}/etc/dm/Sessions)
.endif
.include <bsd.port.mk>
diff --git a/x11-wm/ratpoison/distinfo b/x11-wm/ratpoison/distinfo
index 3d20fb22a13a..038cbd1da159 100644
--- a/x11-wm/ratpoison/distinfo
+++ b/x11-wm/ratpoison/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ratpoison-1.4.6.tar.gz) = ea8396fc69e27841745b8f55846c162be45ede875a2b50bcebca8267171a2bf8
-SIZE (ratpoison-1.4.6.tar.gz) = 460169
+SHA256 (ratpoison-1.4.8.tar.gz) = 40004bbcb5aaae6a22f86f74c47580fab47688c53ac9b88123cc83004836045f
+SIZE (ratpoison-1.4.8.tar.gz) = 485609
diff --git a/x11-wm/ratpoison/pkg-descr b/x11-wm/ratpoison/pkg-descr
index 7c31ecdfc2a8..4f154375d551 100644
--- a/x11-wm/ratpoison/pkg-descr
+++ b/x11-wm/ratpoison/pkg-descr
@@ -1,11 +1,10 @@
-Ratpoison is a simple Window Manager with no fat library
-dependencies, no fancy graphics, no window decorations,
-and no flashy wank. It is largely modelled after GNU
-Screen which has done wonders in virtual terminal market.
+Ratpoison is a simple Window Manager with no fat library dependencies,
+no fancy graphics, no window decorations, and no flashy wank. It is
+largely modelled after GNU Screen which has done wonders in virtual
+terminal market.
-All interaction with the window manager is done through
-keystrokes. ratpoison has a prefix map to minimize the
-key clobbering that cripples EMACS and other quality
-pieces of software.
+All interaction with the window manager is done through keystrokes.
+ratpoison has a prefix map to minimize the key clobbering that cripples
+EMACS and other quality pieces of software.
-WWW: http://www.nongnu.org/ratpoison/
+WWW: http://www.nongnu.org/ratpoison/
diff --git a/x11-wm/ratpoison/pkg-plist b/x11-wm/ratpoison/pkg-plist
index 565fd48c40cb..78036240788b 100644
--- a/x11-wm/ratpoison/pkg-plist
+++ b/x11-wm/ratpoison/pkg-plist
@@ -1,18 +1,18 @@
bin/ratpoison
bin/rpws
+%%GDM_SUPPORT%%etc/dm/Sessions/ratpoison.desktop
man/man1/ratpoison.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
%%DATADIR%%/allwindows.sh
%%DATADIR%%/clickframe.pl
%%DATADIR%%/genrpbindings
+%%DATADIR%%/ratdate.sh
%%DATADIR%%/ratpoison.el
%%DATADIR%%/rpshowall.sh
%%DATADIR%%/rpws
-%%DATADIR%%/split.sh
%%DATADIR%%/sloppy.c
+%%DATADIR%%/split.sh
%%DATADIR%%/unrat.c
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%WITH_GDM%%etc/dm/Sessions/ratpoison.desktop