Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2013 05:46:38 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334917 - in head/games/xzip: . files
Message-ID:  <201311260546.rAQ5kcS4019512@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Tue Nov 26 05:46:38 2013
New Revision: 334917
URL: http://svnweb.freebsd.org/changeset/ports/334917

Log:
  - use STAGEDIR
  - rename patchfiles

Added:
  head/games/xzip/files/patch-Makefile
     - copied, changed from r334916, head/games/xzip/files/patch-aa
  head/games/xzip/files/patch-ztypes.h
     - copied unchanged from r334916, head/games/xzip/files/patch-ab
Deleted:
  head/games/xzip/files/patch-aa
  head/games/xzip/files/patch-ab
Modified:
  head/games/xzip/Makefile

Modified: head/games/xzip/Makefile
==============================================================================
--- head/games/xzip/Makefile	Tue Nov 26 03:48:13 2013	(r334916)
+++ head/games/xzip/Makefile	Tue Nov 26 05:46:38 2013	(r334917)
@@ -14,13 +14,10 @@ EXTRACT_SUFX=	.tar.Z
 MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	An Infocom game interpreter that runs under X11
 
-NO_STAGE=	yes
-
 USE_XORG=	x11
 WRKSRC=		${WRKDIR}/xzip
 ALL_TARGET=
 
-MAN1=		xzip.1
-PLIST_FILES=	bin/xzip
+PLIST_FILES=	bin/xzip man/man1/xzip.1.gz
 
 .include <bsd.port.mk>

Copied and modified: head/games/xzip/files/patch-Makefile (from r334916, head/games/xzip/files/patch-aa)
==============================================================================
--- head/games/xzip/files/patch-aa	Tue Nov 26 03:48:13 2013	(r334916, copy source)
+++ head/games/xzip/files/patch-Makefile	Tue Nov 26 05:46:38 2013	(r334917)
@@ -1,6 +1,6 @@
---- Makefile.orig	Sat Jul 11 18:27:32 1998
-+++ Makefile	Mon Jul 20 14:38:38 1998
-@@ -64,8 +64,10 @@
+--- Makefile.orig	2000-10-19 05:48:30.000000000 +0200
++++ Makefile	2013-11-26 06:29:42.000000000 +0100
+@@ -67,8 +67,10 @@
  # definitions for where the X lib and include directories are.
  # The following are defaults that might work.
  
@@ -13,12 +13,12 @@
  
  # If your compiler can't find these things, try commenting out the
  # above, and uncommenting various versions below. Also look around
-@@ -90,11 +92,11 @@
+@@ -97,11 +99,11 @@
  # --------------------
  
  # definition for where to install xzip executable and man page
 -DESTDIR = /usr/local
-+DESTDIR = $(PREFIX)
++PREFIX?= /usr/local
  
  # --------------------
  
@@ -27,14 +27,14 @@
  LDFLAGS =
  LIBS = -L$(XLIB) -lX11 $(SYSTEMLIBS)
  
-@@ -152,8 +154,8 @@
+@@ -159,8 +161,8 @@
  	$(CC) $(CFLAGS) $(FONTDEFAULTLIST) -c xinit.c
  
  install: $(PROGRAM)
 -	install -s $(PROGRAM) $(DESTDIR)/bin
 -	install $(PROGRAM).1 $(DESTDIR)/man/man1
-+	${BSD_INSTALL_PROGRAM} $(PROGRAM) $(DESTDIR)/bin
-+	${BSD_INSTALL_DATA} $(PROGRAM).1 $(DESTDIR)/man/man1
++	${BSD_INSTALL_PROGRAM} $(PROGRAM) $(DESTDIR)$(PREFIX)/bin/
++	${BSD_INSTALL_DATA} $(PROGRAM).1 $(DESTDIR)$(PREFIX)/man/man1/
  
  clean :
  	-rm -f *~ *.o $(PROGRAM) test

Copied: head/games/xzip/files/patch-ztypes.h (from r334916, head/games/xzip/files/patch-ab)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/xzip/files/patch-ztypes.h	Tue Nov 26 05:46:38 2013	(r334917, copy of r334916, head/games/xzip/files/patch-ab)
@@ -0,0 +1,11 @@
+--- ztypes.h.orig	Sun May  9 16:02:32 1999
++++ ztypes.h	Sun May  9 16:02:52 1999
+@@ -19,6 +19,8 @@
+ #include <malloc.h>
+ #endif /* MSDOS */
+ 
++#include <machine/endian.h>
++
+ /* Try the endianness auto-detect. */
+ 
+ #ifdef AUTO_END_MODE



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