Changeset 98349
- Timestamp:
- Oct 3, 2012, 10:09:01 AM (12 years ago)
- Location:
- trunk/dports/games/wordplay
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/games/wordplay/Portfile
r98348 r98349 4 4 name wordplay 5 5 version 7.22 6 revision 1 6 7 categories games 7 8 maintainers nomaintainer … … 21 22 patchfiles patch-wordplay.c 22 23 24 post-patch { 25 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/wordplay.c 26 } 27 23 28 use_configure no 24 29 … … 30 35 destroot { 31 36 xinstall -m 755 ${worksrcpath}/wordplay ${destroot}${prefix}/bin 32 xinstall -d -m 755 ${destroot}${prefix}/share/wordplay33 xinstall -m 644 ${worksrcpath}/readme ${destroot}${prefix}/share/wordplay37 xinstall -d -m 755 ${destroot}${prefix}/share/wordplay ${destroot}${prefix}/share/doc/wordplay 38 xinstall -m 644 ${worksrcpath}/readme ${destroot}${prefix}/share/doc/wordplay 34 39 xinstall -m 644 ${worksrcpath}/words721.txt ${destroot}${prefix}/share/wordplay 35 40 } -
trunk/dports/games/wordplay/files/patch-wordplay.c
r21480 r98349 1 --- wordplay.c.orig 2005-10-03 10:45:29.000000000 -07002 +++ wordplay.c 20 05-10-03 10:45:50.000000000 -07003 @@ -136, 6 +136,7@@1 --- wordplay.c.orig 1996-03-20 09:34:00.000000000 -0600 2 +++ wordplay.c 2012-10-03 05:07:15.000000000 -0500 3 @@ -136,13 +136,14 @@ 4 4 */ 5 5 … … 9 9 #include <ctype.h> 10 10 11 #define max(A, B) ((A) > (B) ? (A) : (B)) 12 #define min(A, B) ((A) < (B) ? (A) : (B)) 13 14 -#define DEFAULT_WORD_FILE "words721.txt" 15 +#define DEFAULT_WORD_FILE "@PREFIX@/share/wordplay/words721.txt" 16 #define WORDBLOCKSIZE 4096 17 #define MAX_WORD_LENGTH 128 18 #define SAFETY_ZONE MAX_WORD_LENGTH + 1
Note: See TracChangeset
for help on using the changeset viewer.