svn commit: r352659 - in head/x11/xlockmore: . files
Jason Helfman
jgh at FreeBSD.org
Tue Apr 29 22:47:25 UTC 2014
Author: jgh
Date: Tue Apr 29 22:47:23 2014
New Revision: 352659
URL: http://svnweb.freebsd.org/changeset/ports/352659
QAT: https://qat.redports.org/buildarchive/r352659/
Log:
- fix staging issue, bump portrevision as build behavior is changed
- while here convert bzip2 to new uses framework
PR: 188779
Submitted by: john.hein at microsemi.com (via mail)
Added:
head/x11/xlockmore/files/patch-modes-Makefile.in (contents, props changed)
head/x11/xlockmore/pkg-plist (contents, props changed)
Modified:
head/x11/xlockmore/Makefile
Modified: head/x11/xlockmore/Makefile
==============================================================================
--- head/x11/xlockmore/Makefile Tue Apr 29 22:23:53 2014 (r352658)
+++ head/x11/xlockmore/Makefile Tue Apr 29 22:47:23 2014 (r352659)
@@ -3,7 +3,7 @@
PORTNAME= xlockmore
PORTVERSION= 5.43
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES?= x11
MASTER_SITES= http://www.tux.org/~bagleyd/xlock/${PORTNAME}-${PORTVERSION}/ \
ftp://ibiblio.org/pub/Linux/X11/screensavers/ \
@@ -12,21 +12,20 @@ MASTER_SITES= http://www.tux.org/~bagley
MAINTAINER?= jgh at FreeBSD.org
COMMENT= Like XLock session locker/screen saver, but just more
-USE_BZIP2= yes
+USES= tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-motif --without-ttf --without-editres \
--without-dtsaver --without-rplay --without-nas \
- --without-gtk --without-esound
+ --without-gtk --without-esound --disable-setuid
USE_GNOME= #
USE_XORG= x11 xaw ice
LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2
-PLIST_FILES= bin/xlock lib/X11/app-defaults/XLock man/man1/xlock.1.gz
-
OPTIONS_DEFINE= MESAGL MB SYSLOG DISABLE_ALLOW_ROOT NICE_ONLY BLANK_ONLY \
KERBEROS4 BAD_PAM GTK2 TIME_BOMB CUSTOMIZATION MAGICK
+OPTIONS_SUB= yes
MESAGL_DESC= Mesa 3D (for GL modes)
MB_DESC= Xmb function series
@@ -48,7 +47,7 @@ NO_OPTIONS_SORT=yes
MAKE_ARGS+= bindir=${STAGEDIR}${PREFIX}/bin \
mandir=${STAGEDIR}${PREFIX}/man/man1 \
datarootdir=${STAGEDIR}${PREFIX}/share \
- xapploaddir=${STAGEDIR}${PREFIX}/lib/X11/app-defaults
+ xapploaddir=${PREFIX}/lib/X11/app-defaults
.include <bsd.port.options.mk>
@@ -106,8 +105,6 @@ CONFIGURE_ARGS+= --enable-syslog
.if ${PORT_OPTIONS:MGTK2}
CONFIGURE_ARGS+= --with-gtk2
USE_GNOME+= gtk20
-PLIST_FILES+= bin/xglock share/xlock/xglockrc
-PLIST_DIRS+= share/xlock
.else
CONFIGURE_ARGS+= --without-gtk2
.endif
Added: head/x11/xlockmore/files/patch-modes-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/xlockmore/files/patch-modes-Makefile.in Tue Apr 29 22:47:23 2014 (r352659)
@@ -0,0 +1,26 @@
+install to DESTDIR; this allows xapploaddir to only
+contain the <prefix> path and not the staging dir
+(it gets compiled into the binary via DEF_FILESEARCHPATH).
+
+--- modes/Makefile.in.orig 2013-02-21 07:56:39.000000000 -0700
++++ modes/Makefile.in 2014-04-29 10:44:15.000000000 -0600
+@@ -608,8 +608,8 @@
+ $(INSTALL_DATA) $(UTILDIR)xlock.man $(mandir)/xlock.1
+
+ install-ad :
+- $(top_srcdir)/mkinstalldirs $(xapploaddir)
+- $(INSTALL_DATA) $(UTILDIR)XLock.ad $(xapploaddir)/XLock
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(xapploaddir)
++ $(INSTALL_DATA) $(UTILDIR)XLock.ad $(DESTDIR)$(xapploaddir)/XLock
+
+ uninstall : uninstall-program uninstall-man uninstall-ad
+
+@@ -620,7 +620,7 @@
+ $(RM) $(mandir)/xlock.1
+
+ uninstall-ad :
+- $(RM) $(xapploaddir)/XLock
++ $(RM) $(DESTDIR)$(xapploaddir)/XLock
+
+ install.program : install-program
+
Added: head/x11/xlockmore/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/xlockmore/pkg-plist Tue Apr 29 22:47:23 2014 (r352659)
@@ -0,0 +1,10 @@
+%%GTK2%%bin/xglock
+ at mode 4111
+ at owner root
+bin/xlock
+ at mode
+ at owner
+lib/X11/app-defaults/XLock
+man/man1/xlock.1.gz
+%%GTK2%%share/xlock/xglockrc
+%%GTK2%%@dirrm share/xlock
More information about the svn-ports-head
mailing list