- Update to 1.9.5.8

- Add desktop file
- Add hicolor icon

Changelog at:	https://github.com/raduprv/Eternal-Lands/releases/tag/1.9.5.8
This commit is contained in:
Jose Alonso Cardenas Marquez 2020-05-11 18:19:16 +00:00
parent 24f7815ea9
commit 3a06db9cf3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=534927
2 changed files with 17 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= el PORTNAME= el
PORTVERSION= 1.9.5.6 PORTVERSION= 1.9.5.8
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= games CATEGORIES= games
@ -16,7 +16,8 @@ LIB_DEPENDS= libpng.so:graphics/png \
libcal3d.so:graphics/cal3d libcal3d.so:graphics/cal3d
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/el.ini:games/el-data RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/el.ini:games/el-data
USES= compiler:c++11-lang gl gmake gnome iconv openal:al,alut sdl xorg USES= compiler:c++11-lang desktop-file-utils gl gmake gnome iconv \
openal:al,alut sdl xorg
USE_GNOME= libxml2 USE_GNOME= libxml2
USE_SDL= sdl2 net2 image2 USE_SDL= sdl2 net2 image2
USE_GL= gl glu USE_GL= gl glu
@ -29,17 +30,22 @@ LDFLAGS_i386= -Wl,-znotext
ALL_TARGET= el.bin ALL_TARGET= el.bin
MAKEFILE= Makefile.bsd MAKEFILE= Makefile.bsd
PLIST_FILES= bin/el \ PLIST_FILES= bin/eternallands \
%%DATADIR%%/el.bin %%DATADIR%%/el.bin \
share/applications/eternallands.desktop \
share/icons/hicolor/48x48/apps/eternallands.png
pre-install: pre-install:
@${ECHO} "#!/bin/sh" > ${WRKDIR}/el @${ECHO} "#!/bin/sh" > ${WRKDIR}/eternallands
@${ECHO} "cd ${DATADIR} || exit 1 " >> ${WRKDIR}/el @${ECHO} "cd ${DATADIR} || exit 1 " >> ${WRKDIR}/eternallands
@${ECHO} "exec ${DATADIR}/el.bin" >> ${WRKDIR}/el @${ECHO} "exec ${DATADIR}/el.bin" >> ${WRKDIR}/eternallands
do-install: do-install:
@${MKDIR} ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/el ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKDIR}/eternallands ${STAGEDIR}${PREFIX}/bin/eternallands
${INSTALL_PROGRAM} ${WRKSRC}/el.bin ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/el.bin ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps
${INSTALL_DATA} ${WRKSRC}/pkgfiles/eternallands.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/eternallands.png
${INSTALL_DATA} ${WRKSRC}/pkgfiles/eternallands.desktop ${STAGEDIR}${PREFIX}/share/applications/eternallands.desktop
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1581446959 TIMESTAMP = 1588892844
SHA256 (raduprv-Eternal-Lands-1.9.5.6_GH0.tar.gz) = 3d43f74e74b87ffbcbd567970381904908f96c478bbf6f06a18c7a72f1f98525 SHA256 (raduprv-Eternal-Lands-1.9.5.8_GH0.tar.gz) = 8c8d430c9cc3ae71c93c1f2eb65d410bbb9e67256a5b611444048699e07ab960
SIZE (raduprv-Eternal-Lands-1.9.5.6_GH0.tar.gz) = 2841673 SIZE (raduprv-Eternal-Lands-1.9.5.8_GH0.tar.gz) = 2863932