FreeBSD Bugzilla – Attachment 145842 Details for
Bug 192691
[stage] games/bsdtris: Add stage support.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to stagify games/bsdtris
patch.bsdtris (text/plain), 1.89 KB, created by
christian.mangin
on 2014-08-15 20:56:39 UTC
(
hide
)
Description:
Patch to stagify games/bsdtris
Filename:
MIME Type:
Creator:
christian.mangin
Created:
2014-08-15 20:56:39 UTC
Size:
1.89 KB
patch
obsolete
>diff -ruN bsdtris.orig/Makefile bsdtris/Makefile >--- bsdtris.orig/Makefile 2014-07-02 14:22:39.000000000 -0400 >+++ bsdtris/Makefile 2014-08-15 16:32:41.565113759 -0400 >@@ -12,13 +12,12 @@ > > NO_WRKSUBDIR= yes > >-MAN6= bsdtris.6 >- >-NO_STAGE= yes > post-patch: > ${REINPLACE_CMD} -E "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/pathnames.h > > post-install: >- ${INSTALL_MAN} ${WRKSRC}/tetris.6 ${PREFIX}/man/man6/bsdtris.6 >+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bsdtris >+ ${INSTALL_MAN} ${WRKSRC}/tetris.6 ${STAGEDIR}${PREFIX}/man/man6/bsdtris.6 >+ @${GZIP_CMD} ${STAGEDIR}${PREFIX}/man/man6/bsdtris.6 > > .include <bsd.port.mk> >diff -ruN bsdtris.orig/files/patch-Makefile bsdtris/files/patch-Makefile >--- bsdtris.orig/files/patch-Makefile 2014-01-22 12:40:44.000000000 -0500 >+++ bsdtris/files/patch-Makefile 2014-08-15 16:29:25.023127903 -0400 >@@ -7,7 +7,7 @@ > +TMPLDFLAGS+= -lcurses -ltermcap > +SRCS= screen.c shapes.c input.c tetris.c scores.c > + >-+PREFIX?=/usr/local >++PREFIX?=${LOCALBASE} > +MKDIR?=mkdir -p > + > +all: >@@ -18,11 +18,11 @@ > + screen.o shapes.o tetris.o > + > +install: >-+ ${INSTALL} -g games -m 2555 tetris ${PREFIX}/bin/bsdtris >-+. if !exists(${PREFIX}/var/games/bsdtris.scores) >-+ ${MKDIR} ${PREFIX}/var/games >-+ ${INSTALL} -g games -m 664 /dev/null \ >-+ ${PREFIX}/var/games/bsdtris.scores >++ ${INSTALL} tetris ${DESTDIR}${PREFIX}/bin/bsdtris >++. if !exists(${DESTDIR}${PREFIX}/var/games/bsdtris.scores) >++ ${MKDIR} ${DESTDIR}${PREFIX}/var/games >++ ${INSTALL} /dev/null \ >++ ${DESTDIR}${PREFIX}/var/games/bsdtris.scores > +.endif > + > +clean: >diff -ruN bsdtris.orig/pkg-plist bsdtris/pkg-plist >--- bsdtris.orig/pkg-plist 2014-01-22 10:16:56.000000000 -0500 >+++ bsdtris/pkg-plist 2014-08-15 16:43:34.580069276 -0400 >@@ -1 +1,13 @@ >+@group games >+@mode 2555 > bin/bsdtris >+@mode >+@group >+man/man6/bsdtris.6.gz >+@group games >+@mode 664 >+var/games/bsdtris.scores >+@mode >+@group >+@dirrmtry var/games >+@dirrmtry var
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 192691
: 145842 |
145843
|
145873