aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/xlockmore/Makefile6
-rw-r--r--x11/xlockmore/distinfo2
-rw-r--r--x11/xlockmore/files/patch-aa82
3 files changed, 49 insertions, 41 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index bcbcb7b518d1..8a765f4f61d9 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: xlockmore
-# Version required: 3.13
+# Version required: 4.00
# Date created: 9 November 1994
# Whom: smace
#
-# $Id: Makefile,v 1.13 1996/12/02 08:46:04 tg Exp $
+# $Id: Makefile,v 1.15 1997/01/14 07:16:27 tg Exp $
#
-DISTNAME= xlockmore-3.13
+DISTNAME= xlockmore-4.00
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
diff --git a/x11/xlockmore/distinfo b/x11/xlockmore/distinfo
index df84bfd4942e..b80c477a9614 100644
--- a/x11/xlockmore/distinfo
+++ b/x11/xlockmore/distinfo
@@ -1 +1 @@
-MD5 (xlockmore-3.13.tar.gz) = cb08434a3ee1cb403d8cbaada0ef3e61
+MD5 (xlockmore-4.00.tar.gz) = 68e39d08dd0c0519bf3dc836a1281b32
diff --git a/x11/xlockmore/files/patch-aa b/x11/xlockmore/files/patch-aa
index 3fb99bf16ad4..3d5fff377dbf 100644
--- a/x11/xlockmore/files/patch-aa
+++ b/x11/xlockmore/files/patch-aa
@@ -1,48 +1,56 @@
---- Imakefile.orig Wed Dec 11 18:36:32 1996
-+++ Imakefile Thu Jan 9 18:17:25 1997
-@@ -17,13 +17,13 @@
-
- XCOMM If you get an error "Cannot find xpm.h" while compiling, set
- XCOMM XPMINC to the directory X11/xpm.h is in. Below is a guess.
-- XPMINC = -I/usr/local/include
-+XCOMM XPMINC = -I/usr/local/include
- XCOMM SGI's ViewKit (use with -DHAS_XPMINC)
- XCOMM XPMINC = -I/usr/include/Vk
-
- XCOMM If you get an error "Connot find libXpm" while linking, set XPMLIBPATH
+--- Imakefile.orig Mon Feb 10 18:13:32 1997
++++ Imakefile Wed Feb 19 18:08:29 1997
+@@ -35,7 +35,7 @@
+
+ XCOMM Only the image.c and bat.c modes use this.
+ XCOMM If your system has libXpm, remove the 'XCOMM ' from the next line.
+-XCOMM #define XpmLibrary
++#define XpmLibrary
+
+ #ifdef XpmLibrary
+ XPMDEF = -DUSE_XPM
+@@ -50,7 +50,7 @@
+
+ XCOMM If you get an error "Cannot find libXpm" while linking, set XPMLIBPATH
XCOMM to the directory libXpm.* is in. Below is a guess.
- XPMLIB = -L/usr/local/lib -lXpm
+ XPMLIB = -lXpm
#endif
-@@ -255,7 +255,12 @@
- PIXMAPTYPE = x11
- FLAGTYPE = sysv
- #else
--#if defined(FreeBSDArchitecture) || defined(NetBSDArchitecture) || defined(i386BsdArchitecture)
-+#if defined(FreeBSDArchitecture)
-+ SLEEPDEF = -DHAS_USLEEP
-+ BITMAPTYPE = bsd
-+ PIXMAPTYPE = bsd
-+ FLAGTYPE = freebsd
-+#elif defined(NetBSDArchitecture) || defined(i386BsdArchitecture)
- SLEEPDEF = -DHAS_USLEEP
- BITMAPTYPE = bsd
- PIXMAPTYPE = bsd
-@@ -329,9 +334,9 @@
- XCOMM -DSTAFF_NETGROUP=\"/etc/xlock.netgroup\" netgroup that is exempt
+@@ -164,8 +164,8 @@
+ XCOMM SRANDDEF = -DSRAND=srand48
+ XCOMM LRANDDEF = -DLRAND=lrand48
+
+-XCOMM SRANDDEF = -DSRAND=srandom
+-XCOMM LRANDDEF = -DLRAND=random
++SRANDDEF = -DSRAND=srandom
++LRANDDEF = -DLRAND=random
+
+ XCOMM Least desirable RNG
+ XCOMM SRANDDEF = -DSRAND=srand
+@@ -363,9 +363,9 @@
+ XCOMM -DSTAFF_NETGROUP=\"/etc/xlock.netgroup\" Netgroup that is exempt
XCOMM May have to combine in one long line if "+=" does not work
-- OPTDEF = -DUSE_VROOT -DALWAYS_ALLOW_ROOT
-+XCOMM OPTDEF = -DUSE_VROOT -DALWAYS_ALLOW_ROOT
- XCOMM OPTDEF += -DSYSLOG
--XCOMM OPTDEF += -DMOUSE_MOTION
-+ OPTDEF += -DMOUSE_MOTION
- XCOMM OPTDEF += -DMULTIPLE_ROOT
- XCOMM OPTDEF += -DOLD_EVENT_LOOP
- XCOMM 0PTDEF += -DUSE_XLOCKRC
-@@ -357,8 +362,8 @@
+- OPTDEF = -DUSE_VROOT -DALWAYS_ALLOW_ROOT -DUSE_BOMB
++XCOMM OPTDEF = -DUSE_VROOT -DALWAYS_ALLOW_ROOT -DUSE_BOMB
+ XCOMM OPTDEF += -DUSE_SYSLOG
+-XCOMM OPTDEF += -DUSE_MOUSE_MOTION
++ OPTDEF += -DUSE_MOUSE_MOTION
+ XCOMM OPTDEF += -DUSE_MULTIPLE_ROOT
+ XCOMM OPTDEF += -DUSE_OLD_EVENT_LOOP
+ XCOMM OPTDEF += -DUSE_XLOCKRC
+@@ -377,7 +377,7 @@
+ XCOMM OPTDEF += -DSTAFF_NETGROUP=\"/etc/xlock.netgroup\"
+
+ XCOMM Here is your chance to override the default icon:
+- FLAGBITS = $(FLAGTYPE)
++ FLAGBITS = freebsd
+ XCOMM TINYBITMAP = $(BITMAPTYPE)
+ TINYBITMAP = t-x11
+ SMALLBITMAP = s-$(BITMAPTYPE)
+@@ -390,8 +390,8 @@
IMAGEBITMAP = $(MEDIUMBITMAP)
XCOMM IMAGEBITMAP = l-bob
XCOMM IMAGEBITMAP = m-xlock