games/bombherman
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/connectagram
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Break lines around 80 characters
games/cretan-hubris
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/fbg2
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/gottet
- Transfer maintainership to games@ team
games/gtkatlantic
- Simplify master site
- Use tar.gz instead of tar.bz2
- Transfer maintainership to games@ team
- Don't silence warnings
- Set PORTSCOUT, Upstream use GTK3 in newer Versions
games/kye
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/madbomber
- Transfer maintainership to games@ team
games/megamario
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Add fixes_v1.7.txt to DOCS
games/nelly
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Cosmetical changes
games/oneisenough
- Transfer maintainership to games@ team
- USES shebangfix and SHEBANG_FILES instead of REINPLACE
- Simplify installation handling
games/patapizza-tetris
- Transfer maintainership to games@ team
games/puckman
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/pycadia
- Transfer maintainership to games@ team
games/pyspacewar
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
games/simsu
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Use tar:bzip2 instead of USE_BZIP2=yes
games/smashbattle
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/syobon
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/tanglet
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Use tar:bzip2 instead of USE_BZIP2=yes
games/thegrind
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
2014-05-06 00:02:09 +02:00
|
|
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
2012-11-30 20:07:41 +01:00
|
|
|
|
|
|
|
PORTNAME= megamario
|
|
|
|
PORTVERSION= 1.7
|
2021-06-19 22:16:08 +02:00
|
|
|
PORTREVISION= 5
|
2012-11-30 20:07:41 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= SF/mmario/Mega%20Mario%20Full%20Game/Mega%20Mario%20v${PORTVERSION}%20%28Full%20Game%2C%20high%20Quality%20music%29/
|
|
|
|
DISTNAME= MegaMario_v${PORTVERSION}_full
|
|
|
|
|
2014-10-31 17:11:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-11-30 20:07:41 +01:00
|
|
|
COMMENT= Super Mario Bros 1 clone
|
|
|
|
|
|
|
|
LICENSE= LGPL21
|
2014-10-13 16:01:13 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/licence.txt
|
2012-11-30 20:07:41 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
|
|
|
|
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
|
2019-11-05 23:16:14 +01:00
|
|
|
USES= dos2unix gl gmake sdl zip
|
2014-03-14 20:22:33 +01:00
|
|
|
DOS2UNIX_GLOB= *.cpp *.h *.ini Makefile* *.txt *.desktop
|
2012-11-30 20:07:41 +01:00
|
|
|
USE_SDL= sdl image mixer ttf
|
|
|
|
USE_GL= glu
|
2013-09-24 23:04:58 +02:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
2012-11-30 20:07:41 +01:00
|
|
|
|
|
|
|
pre-extract:
|
2014-03-14 20:22:33 +01:00
|
|
|
@${MKDIR} ${WRKDIR}/${DISTNAME}
|
2012-11-30 20:07:41 +01:00
|
|
|
|
2014-11-10 21:17:54 +01:00
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
DOCSRCDIR1= ${WRKSRC}
|
|
|
|
DOC_FILES1= CONTROLS.txt fixes_v1.7.txt readme.txt
|
|
|
|
|
|
|
|
DOCSRCDIR2= ${WRKSRC}/help
|
|
|
|
DOCSDIR2= ${DOCSDIR}/help
|
|
|
|
DOC_FILES2= *
|
|
|
|
|
|
|
|
DOCSRCDIR3= ${WRKSRC}/screens
|
|
|
|
DOCSDIR3= ${DOCSDIR}/screens
|
|
|
|
DOC_FILES3= *
|
|
|
|
|
2013-09-24 23:04:58 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2012-11-30 20:07:41 +01:00
|
|
|
post-patch:
|
2014-03-14 20:22:33 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share/pixmaps/megamario.png|${PORTNAME}|; \
|
|
|
|
s|Name=megamario|Name=Mega Mario|' \
|
2012-11-30 20:07:41 +01:00
|
|
|
${WRKSRC}/${PORTNAME}.desktop
|
|
|
|
@${REINPLACE_CMD} -e 's|slidebar.PNG|slidebar.png|' \
|
|
|
|
${WRKSRC}/data/levels/Edit2/main ${WRKSRC}/data/levels/3_2/main
|
|
|
|
@(cd ${WRKSRC}/help && ${MV} editor_R*.PNG editor_Roehren.png)
|
|
|
|
@for i in `${FIND} ${WRKSRC} -name \*.JPG -or -name \*.PNG`; do \
|
|
|
|
${MV} $$i `echo $$i | ${SED} -e 's/PNG/png/;s/JPG/jpg/'`; done
|
|
|
|
|
|
|
|
post-install:
|
2014-03-14 20:22:33 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2014-11-10 21:17:54 +01:00
|
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} mp3music ${STAGEDIR}${DATADIR})
|
|
|
|
|
2014-01-13 02:08:11 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
|
|
|
|
|
2018-01-11 17:53:44 +01:00
|
|
|
post-install-DOCS-on:
|
2014-01-13 02:08:11 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-11-10 21:17:54 +01:00
|
|
|
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR2}
|
|
|
|
${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR3}
|
|
|
|
${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3}
|
2012-11-30 20:07:41 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|