FreeBSD Bugzilla – Attachment 164469 Details for
Bug 205255
[NEW PORT] games/nethack36 (Based on games/nethack34)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update nethack34
nethack34.patch (text/plain), 2.32 KB, created by
groot
on 2015-12-21 21:17:11 UTC
(
hide
)
Description:
Update nethack34
Filename:
MIME Type:
Creator:
groot
Created:
2015-12-21 21:17:11 UTC
Size:
2.32 KB
patch
obsolete
>Index: games/nethack34/Makefile >=================================================================== >--- games/nethack34/Makefile (revision 404182) >+++ games/nethack34/Makefile (working copy) >@@ -22,9 +22,12 @@ > MAKE_ENV= GRAPHICS="${GRAPHICS}" > PLIST_SUB= HACKNAME="${HACKNAME}" > >-# Configure these variables as you want them to be. >-HACKNAME?= nethack >+TRUEPORTNAME= nethack >+ >+HACKEXT?= 34 >+HACKNAME?= ${TRUEPORTNAME}${HACKEXT} > HACKDIR?= share/${HACKNAME} >+HACKLINK= ${TRUEPORTNAME} > > DATADIR= ${PREFIX}/${HACKDIR} > DOCSDIR= ${PREFIX}/share/doc/${HACKNAME} >@@ -83,11 +86,18 @@ > .include <bsd.port.options.mk> > > post-patch: >-.for f in include/config.h sys/unix/Makefile.top >+.for f in include/config.h sys/unix/Makefile.top sys/unix/Makefile.doc > @${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g' \ > -e 's|%%HACKDIR%%|${PREFIX}/${HACKDIR}|g' \ >+ -e 's|%%HACKEXT%%|${HACKEXT}|g' \ > ${WRKSRC}/${f} > .endfor >+.for f in dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6 >+ @${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g' \ >+ -e 's|%%HACKDIR%%|${PREFIX}/${HACKDIR}|g' \ >+ -e 's|%%HACKEXT%%|${HACKEXT}|g' \ >+ ${WRKSRC}/doc/${f} >+.endfor > @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/win/Qt/qt_win.cpp > .if defined(WITHOUT_SHELL) > @${REINPLACE_CMD} -e 's|#define SHELL|/* #define SHELL|' ${WRKSRC}/include/unixconf.h >Index: games/nethack34/files/patch-sys-unix-Makefile.top >=================================================================== >--- games/nethack34/files/patch-sys-unix-Makefile.top (revision 404182) >+++ games/nethack34/files/patch-sys-unix-Makefile.top (working copy) >@@ -56,7 +56,7 @@ > - cp src/$(GAME) $(GAMEDIR) > - cp util/recover $(GAMEDIR) > - -rm -f $(SHELLDIR)/$(GAME) >-+ cp src/$(GAME) ${DESTDIR}$(GAMEDIR)/$(GAME) >++ cp src/nethack ${DESTDIR}$(GAMEDIR)/$(GAME) > + cp util/recover ${DESTDIR}$(GAMEDIR) > + -rm -f ${DESTDIR}$(SHELLDIR)/$(GAME) > sed -e 's;/usr/games/lib/nethackdir;$(GAMEDIR);' \ >Index: games/nethack34/pkg-plist >=================================================================== >--- games/nethack34/pkg-plist (revision 404182) >+++ games/nethack34/pkg-plist (working copy) >@@ -151,7 +151,7 @@ > man/man6/dgn_comp.6.gz > man/man6/dlb.6.gz > man/man6/lev_comp.6.gz >-man/man6/%%HACKNAME%%.6.gz >+man/man6/nethack.6.gz > man/man6/recover.6.gz > %%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt > @dir(games,games,0775) %%DATADIR%%/save
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205255
:
164139
|
164164
|
164178
|
164179
|
164468
|
164469
|
164470
|
164473
|
164475
|
165869