1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Fix STAGEDIR, add USES desthack, change MAKE_ARGS

- Change installation handling for executable
- Recreate patches with make makepatch
This commit is contained in:
Rusmir Dusko 2014-05-13 21:31:41 +00:00
parent 9d4f1e2d7b
commit 2670921f55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354001
4 changed files with 13 additions and 12 deletions

View File

@ -18,13 +18,11 @@ LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
MAKE_ARGS= HC_BASE=${STAGEDIR}${PREFIX}/share/${PORTNAME}/ \
HC_BIN_DIR=${STAGEDIR}${PREFIX}/bin/
MAKE_JOBS_UNSAFE= yes
USES= gmake
USES= gmake desthack
USE_GL= gl
USE_SDL= image mixer sdl ttf
MAKE_ARGS= HC_BASE=${STAGEDIR}${PREFIX}/share/${PORTNAME}/
MAKE_JOBS_UNSAFE= yes
INSTALLS_ICONS= yes
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128
@ -47,6 +45,9 @@ EXTRACT_ONLY+= ${PORTNAME}_solutions${EXTRACT_SUFX}
.endif
post-install:
.for f in ${PORTNAME} ${PORTNAME}-editor
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${f} ${STAGEDIR}${PREFIX}/bin/)
.endfor
.for s in ${ICON_SIZES}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
@ -62,7 +63,7 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}-solutions.desktop \
${STAGEDIR}${DESKTOPDIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/solutions
@(cd ${WRKDIR} ; ${INSTALL_DATA} *.avi ${STAGEDIR}${DATADIR}/solutions)
@(cd ${WRKDIR} && ${INSTALL_DATA} *.avi ${STAGEDIR}${DATADIR}/solutions)
.endif
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- JLib/JLib/Util/JFS.cpp.orig 2008-08-23 22:36:06.000000000 +0400
+++ JLib/JLib/Util/JFS.cpp 2008-08-25 17:58:54.000000000 +0400
--- ./JLib/JLib/Util/JFS.cpp.orig 2009-05-02 11:17:15.000000000 +0200
+++ ./JLib/JLib/Util/JFS.cpp 2014-05-06 09:39:45.658916968 +0200
@@ -886,8 +886,8 @@
s32 n, k;

View File

@ -1,5 +1,5 @@
--- JLib/Makefile.orig 2008-08-23 22:36:06.000000000 +0400
+++ JLib/Makefile 2008-08-25 18:00:54.000000000 +0400
--- ./JLib/Makefile.orig 2009-05-02 11:17:15.000000000 +0200
+++ ./JLib/Makefile 2014-05-06 09:39:45.658916968 +0200
@@ -19,7 +19,7 @@
endif

View File

@ -1,5 +1,5 @@
--- src/Makefile.orig 2008-08-23 22:36:07.000000000 +0400
+++ src/Makefile 2008-08-25 18:04:07.000000000 +0400
--- ./src/Makefile.orig 2009-05-02 11:17:15.000000000 +0200
+++ ./src/Makefile 2014-05-06 09:47:06.888924553 +0200
@@ -21,12 +21,8 @@
# Edita estas l<>neas para cambiar el directorio de instalaci<63>n de datos y del juego o bien
# comenta estas l<>neas si no quieres instalar el juego (y descomenta las de arriba)