View | Details | Raw Unified | Return to bug 181498
Collapse All | Expand All

(-)Makefile (-3 / +5 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	pingus
4
PORTNAME=	pingus
5
PORTVERSION=	0.7.2
5
PORTVERSION=	0.7.2
6
PORTREVISION=	10
6
PORTREVISION=	11
7
CATEGORIES=	games
7
CATEGORIES=	games
8
MASTER_SITES=	http://pingus.seul.org/files/
8
MASTER_SITES=	http://pingus.seul.org/files/
9
9
Lines 12-18 Link Here
12
12
13
LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
13
LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
14
		boost_regex:${PORTSDIR}/devel/boost-libs \
14
		boost_regex:${PORTSDIR}/devel/boost-libs \
15
		physfs.1:${PORTSDIR}/devel/physfs
15
		physfs:${PORTSDIR}/devel/physfs
16
16
17
USE_BZIP2=	yes
17
USE_BZIP2=	yes
18
USES=		iconv
18
USES=		iconv
Lines 21-27 Link Here
21
		with_linuxevdev=0
21
		with_linuxevdev=0
22
USE_SDL=	sdl image mixer
22
USE_SDL=	sdl image mixer
23
23
24
DESKTOP_ENTRIES=	"Pingus" "${COMMENT}" "" \
24
DESKTOP_ENTRIES=	"Pingus" "${COMMENT}" "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \
25
			"pingus" "" false
25
			"pingus" "" false
26
26
27
PLIST=		${WRKDIR}/pkg-plist
27
PLIST=		${WRKDIR}/pkg-plist
Lines 33-38 Link Here
33
pre-install:
33
pre-install:
34
	@${RM} -f ${PLIST}
34
	@${RM} -f ${PLIST}
35
	@${ECHO_CMD} "bin/${PORTNAME}" >> ${PLIST}
35
	@${ECHO_CMD} "bin/${PORTNAME}" >> ${PLIST}
36
	@${ECHO_CMD} "share/pixmaps/${PORTNAME}.ico" >> ${PLIST}
36
	@cd ${WRKSRC}/data && \
37
	@cd ${WRKSRC}/data && \
37
		${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \
38
		${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \
38
			${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST}
39
			${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST}
Lines 44-48 Link Here
44
		${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
45
		${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
45
			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
46
			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
46
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
47
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
48
	${INSTALL_DATA} ${WRKSRC}/src/win32/icon1.ico ${PREFIX}/share/pixmaps/${PORTNAME}.ico
47
49
48
.include <bsd.port.mk>
50
.include <bsd.port.mk>
(-)files/patch-src-editor-editor__screen.hpp (+11 lines)
Line 0 Link Here
1
--- src/editor/editor_screen.hpp.orig	2007-09-30 20:07:08.000000000 +0400
2
+++ src/editor/editor_screen.hpp	2013-08-23 23:08:40.689231327 +0400
3
@@ -27,7 +27,7 @@
4
 
5
 class DrawingContext;
6
 class FileDialog;
7
-class GUI::GUIManager;
8
+namespace GUI { class GUIManager; }
9
 class Pathname;
10
 
11
 namespace Editor {
(-)files/patch-src-lisp-getters.hpp (+11 lines)
Line 0 Link Here
1
--- src/lisp/getters.hpp.orig	2007-08-17 20:20:09.000000000 +0400
2
+++ src/lisp/getters.hpp	2013-08-09 13:42:19.551761882 +0400
3
@@ -30,7 +30,7 @@
4
   if(lisp->get_list_size() != 2)
5
     return false;
6
   
7
-  const Lisp* el = lisp->get_list_elem(1);
8
+  const Lisp* el = lisp->get_list_elem(1).get();
9
   return get(el, val);
10
 }
11
 
(-)pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
currently 22 playable levels and runs under a wide variety of operating systems 
2
currently 22 playable levels and runs under a wide variety of operating systems 
3
(FreeBSD, Linux, Windows, etc.)
3
(FreeBSD, Linux, Windows, etc.)
4
4
5
WWW:	http://pingus.seul.org/
5
WWW: http://pingus.seul.org/

Return to bug 181498