[39499] trunk/dports/games/frotz
ryandesign at macports.org
ryandesign at macports.org
Fri Aug 22 02:25:35 PDT 2008
Revision: 39499
http://trac.macosforge.org/projects/macports/changeset/39499
Author: ryandesign at macports.org
Date: 2008-08-22 02:25:34 -0700 (Fri, 22 Aug 2008)
Log Message:
-----------
frotz: use MacPorts ncurses, not the system's (closes #12152), and fix the manpage installation location in the Makefile patch instead of in a reinplace
Modified Paths:
--------------
trunk/dports/games/frotz/Portfile
trunk/dports/games/frotz/files/patch-Makefile
Modified: trunk/dports/games/frotz/Portfile
===================================================================
--- trunk/dports/games/frotz/Portfile 2008-08-22 09:12:15 UTC (rev 39498)
+++ trunk/dports/games/frotz/Portfile 2008-08-22 09:25:34 UTC (rev 39499)
@@ -3,6 +3,7 @@
name frotz
version 2.43
+revision 1
categories games
maintainers pack-darwinports at rattus.net
description an interpreter for Infocom Z-Code games
@@ -16,10 +17,8 @@
patchfiles patch-Makefile patch-src-common-main.c \
patch-src-common-process.c
configure {
- reinplace "s|^PREFIX = /usr/local|PREFIX = ${prefix}|" \
+ reinplace "s|@PREFIX@|${prefix}|" \
"${worksrcpath}/Makefile"
- reinplace "s|MAN_PREFIX = \$(PREFIX)|MAN_PREFIX = \$(PREFIX)/share|" \
- "${worksrcpath}/Makefile"
}
destroot.destdir PREFIX=${destroot}${prefix}
Modified: trunk/dports/games/frotz/files/patch-Makefile
===================================================================
--- trunk/dports/games/frotz/files/patch-Makefile 2008-08-22 09:12:15 UTC (rev 39498)
+++ trunk/dports/games/frotz/files/patch-Makefile 2008-08-22 09:25:34 UTC (rev 39499)
@@ -1,5 +1,17 @@
---- Makefile.orig Mon Jun 28 17:22:12 2004
-+++ Makefile Mon Jun 28 17:22:30 2004
+--- Makefile 2002-10-27 19:21:52.000000000 -0600
++++ Makefile 2008-08-21 20:23:15.000000000 -0500
+@@ -14,9 +14,9 @@
+ #-malign-jumps=2
+
+ # Define where you want Frotz installed. Usually this is /usr/local
+-PREFIX = /usr/local
++PREFIX = @PREFIX@
+
+-MAN_PREFIX = $(PREFIX)
++MAN_PREFIX = $(PREFIX)/share
+ #MAN_PREFIX = /usr/local/share
+
+ CONFIG_DIR = $(PREFIX)/etc
@@ -24,7 +24,7 @@
# Define where you want Frotz to look for frotz.conf.
@@ -9,7 +21,23 @@
#CONFIG_DIR = /etc
#CONFIG_DIR = /usr/pkg/etc
#CONFIG_DIR =
-@@ -73,8 +73,8 @@
+@@ -54,6 +54,7 @@
+ # If your vendor-supplied curses library won't work, uncomment the
+ # location where ncurses.h is.
+ #
++INCL = -I at PREFIX@/include
+ #INCL = -I/usr/local/include
+ #INCL = -I/usr/pkg/include
+ #INCL = -I/usr/freeware/include
+@@ -63,6 +64,7 @@
+ # If your vendor-supplied curses library won't work, uncomment the
+ # location where the ncurses library is.
+ #
++LIB = -L at PREFIX@/lib
+ #LIB = -L/usr/local/lib
+ #LIB = -L/usr/pkg/lib
+ #LIB = -L/usr/freeware/lib
+@@ -73,8 +75,8 @@
# curses library won't work, comment out the first option and uncomment
# the second.
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080822/534964c6/attachment-0001.html
More information about the macports-changes
mailing list