FreeBSD Bugzilla – Attachment 164679 Details for
Bug 205627
games/ltris: move scorefile to /var/games, modernize
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
ltris.patch (text/plain), 1.77 KB, created by
Dmitry Marakasov
on 2015-12-26 12:15:38 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2015-12-26 12:15:38 UTC
Size:
1.77 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 390640) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= ltris > PORTVERSION= 1.0.19 >-PORTREVISION= 3 >+PORTREVISION= 4 > PORTEPOCH= 1 > CATEGORIES= games > MASTER_SITES= SF/lgames/${PORTNAME} >@@ -13,23 +13,15 @@ > > USE_SDL= mixer sdl > GNU_CONFIGURE= yes >-USES= gmake >-CPPFLAGS+= -I${LOCALBASE}/include >-LDFLAGS+= -L${LOCALBASE}/lib >-CONFIGURE_ARGS= --localstatedir=${DATADIR} >+USES= gmake localbase >+CONFIGURE_ARGS= --localstatedir=/var/games > > OPTIONS_DEFINE= NLS >+OPTIONS_SUB= yes > >-.include <bsd.port.options.mk> >+NLS_USES= gettext >+NLS_CONFIGURE_ENABLE= nls > >-.if ${PORT_OPTIONS:MNLS} >-USES+= gettext >-PLIST_SUB+= NLS="" >-.else >-CONFIGURE_ARGS+= --disable-nls >-PLIST_SUB+= NLS="@comment " >-.endif >- > post-patch: > @${REINPLACE_CMD} -e 's/\/icons/\/pixmaps/g' ${WRKSRC}/Makefile.in > @${REINPLACE_CMD} -e 's/= @mixer_flag@/= @INTLLIBS@ @mixer_flag@/g ; \ >@@ -37,4 +29,7 @@ > @${REINPLACE_CMD} -e 's/^inline //' \ > ${WRKSRC}/src/sdl.h ${WRKSRC}/src/tools.h > >+post-install: >+ ${MV$} ${STAGEDIR}/var/games/ltris.hscr ${STAGEDIR}/var/games/ltris.hscr.sample >+ > .include <bsd.port.mk> >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 390640) >+++ pkg-plist (working copy) >@@ -24,7 +24,6 @@ > %%DATADIR%%/gfx/logo.bmp > %%DATADIR%%/gfx/menuback.bmp > %%DATADIR%%/gfx/quest.bmp >-@(,games,0664) %%DATADIR%%/ltris.hscr > %%DATADIR%%/sounds/click.wav > %%DATADIR%%/sounds/excellent.wav > %%DATADIR%%/sounds/explosion.wav >@@ -33,6 +32,4 @@ > %%DATADIR%%/sounds/nextlevel.wav > %%DATADIR%%/sounds/stop.wav > share/pixmaps/ltris48.gif >-@dirrm %%DATADIR%%/sounds >-@dirrm %%DATADIR%%/gfx >-@dirrm %%DATADIR%% >+@sample(,games,664) /var/games/ltris.hscr.sample
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 205627
: 164679