Changeset 39499


Ignore:
Timestamp:
Aug 22, 2008, 9:25:34 AM (12 years ago)
Author:
ryandesign@…
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

Location:
trunk/dports/games/frotz
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/frotz/Portfile

    r39437 r39499  
    44name              frotz
    55version           2.43
     6revision          1
    67categories        games
    78maintainers       pack-darwinports@rattus.net
     
    1718                  patch-src-common-process.c
    1819configure        {
    19         reinplace "s|^PREFIX = /usr/local|PREFIX = ${prefix}|" \
    20                 "${worksrcpath}/Makefile"
    21         reinplace "s|MAN_PREFIX = \$(PREFIX)|MAN_PREFIX = \$(PREFIX)/share|" \
     20        reinplace "s|@PREFIX@|${prefix}|" \
    2221                "${worksrcpath}/Makefile"
    2322}
  • trunk/dports/games/frotz/files/patch-Makefile

    r21480 r39499  
    1 --- Makefile.orig       Mon Jun 28 17:22:12 2004
    2 +++ Makefile    Mon Jun 28 17:22:30 2004
     1--- Makefile    2002-10-27 19:21:52.000000000 -0600
     2+++ Makefile    2008-08-21 20:23:15.000000000 -0500
     3@@ -14,9 +14,9 @@
     4 #-malign-jumps=2
     5 
     6 # Define where you want Frotz installed.  Usually this is /usr/local
     7-PREFIX = /usr/local
     8+PREFIX = @PREFIX@
     9 
     10-MAN_PREFIX = $(PREFIX)
     11+MAN_PREFIX = $(PREFIX)/share
     12 #MAN_PREFIX = /usr/local/share
     13 
     14 CONFIG_DIR = $(PREFIX)/etc
    315@@ -24,7 +24,7 @@
    416 
     
    1022 #CONFIG_DIR = /usr/pkg/etc
    1123 #CONFIG_DIR =
    12 @@ -73,8 +73,8 @@
     24@@ -54,6 +54,7 @@
     25 # If your vendor-supplied curses library won't work, uncomment the
     26 # location where ncurses.h is.
     27 #
     28+INCL = -I@PREFIX@/include
     29 #INCL = -I/usr/local/include
     30 #INCL = -I/usr/pkg/include
     31 #INCL = -I/usr/freeware/include
     32@@ -63,6 +64,7 @@
     33 # If your vendor-supplied curses library won't work, uncomment the
     34 # location where the ncurses library is.
     35 #
     36+LIB = -L@PREFIX@/lib
     37 #LIB = -L/usr/local/lib
     38 #LIB = -L/usr/pkg/lib
     39 #LIB = -L/usr/freeware/lib
     40@@ -73,8 +75,8 @@
    1341 # curses library won't work, comment out the first option and uncomment
    1442 # the second.
Note: See TracChangeset for help on using the changeset viewer.