diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-11-26 13:46:38 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-11-26 13:46:38 +0800 |
commit | 37c2bba274dd33b285bc9daa67881242038dec7b (patch) | |
tree | 73d2e1e435fe35c52a0e9698944c52f1b6792dc7 /games | |
parent | 611abacf73e51fe80c52d7aa17402ed5fb082396 (diff) | |
download | freebsd-ports-graphics-37c2bba274dd33b285bc9daa67881242038dec7b.tar.gz freebsd-ports-graphics-37c2bba274dd33b285bc9daa67881242038dec7b.tar.zst freebsd-ports-graphics-37c2bba274dd33b285bc9daa67881242038dec7b.zip |
- use STAGEDIR
- rename patchfiles
Diffstat (limited to 'games')
-rw-r--r-- | games/xzip/Makefile | 5 | ||||
-rw-r--r-- | games/xzip/files/patch-Makefile (renamed from games/xzip/files/patch-aa) | 16 | ||||
-rw-r--r-- | games/xzip/files/patch-ztypes.h (renamed from games/xzip/files/patch-ab) | 0 |
3 files changed, 9 insertions, 12 deletions
diff --git a/games/xzip/Makefile b/games/xzip/Makefile index 855a76e16a3..dd6d286f048 100644 --- a/games/xzip/Makefile +++ b/games/xzip/Makefile @@ -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> diff --git a/games/xzip/files/patch-aa b/games/xzip/files/patch-Makefile index f4473206f18..a4ffa9344fb 100644 --- a/games/xzip/files/patch-aa +++ b/games/xzip/files/patch-Makefile @@ -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 diff --git a/games/xzip/files/patch-ab b/games/xzip/files/patch-ztypes.h index 30c5c067b4a..30c5c067b4a 100644 --- a/games/xzip/files/patch-ab +++ b/games/xzip/files/patch-ztypes.h |