View | Details | Raw Unified | Return to bug 209814 | Differences between
and this patch

Collapse All | Expand All

(-)diaspora/Makefile (-12 / +10 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	diaspora
4
PORTNAME=	diaspora
5
PORTVERSION=	1.1.1
5
PORTVERSION=	1.1.1
6
PORTREVISION=	1
6
CATEGORIES=	games
7
CATEGORIES=	games
7
MASTER_SITES=	http://diaspora.fs2downloads.com/ \
8
MASTER_SITES=	http://diaspora.fs2downloads.com/ \
8
		http://www.freespacemods.net/e107_files/downloads/:freespacemods \
9
		http://www.freespacemods.net/e107_files/downloads/:freespacemods \
Lines 25-45 Link Here
25
LICENSE_PERMS_CCBYNCSAv3=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
26
LICENSE_PERMS_CCBYNCSAv3=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
26
LICENSE_PERMS_VOLITION=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
27
LICENSE_PERMS_VOLITION=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
27
28
28
LIB_DEPENDS+=	libjansson.so:devel/jansson \
29
LIB_DEPENDS=	libjansson.so:devel/jansson \
29
		libpng.so:graphics/png \
30
		libpng.so:graphics/png \
30
		libogg.so:audio/libogg \
31
		libogg.so:audio/libogg \
31
		libvorbisfile.so:audio/libvorbis \
32
		libvorbisfile.so:audio/libvorbis \
32
		libtheora.so:multimedia/libtheora
33
		libtheora.so:multimedia/libtheora
34
RUN_DEPENDS=	diaspora-data>=${PORTVERSION}:games/diaspora-data
33
35
34
USES=	autoreconf jpeg lua:51 openal pkgconfig tar:lzma
36
USES=	autoreconf jpeg lua:51 openal pkgconfig tar:lzma
35
USE_GL=	yes
37
USE_GL=	gl glu
36
USE_SDL=	sdl
38
USE_SDL=	sdl
37
GNU_CONFIGURE=	yes
39
GNU_CONFIGURE=	yes
40
EXTRACT_AFTER_ARGS=	--no-same-owner --no-same-permissions \
41
		--exclude *.vp --exclude data/movies
38
42
39
WRKDIR_DIASPORA=	${WRKDIR}/Diaspora_R1_Linux/Diaspora
43
WRKDIR_DIASPORA=	${WRKDIR}/Diaspora_R1_Linux/Diaspora
40
WRKSRC=	${WRKDIR_DIASPORA}/fs2_open
44
WRKSRC=	${WRKDIR_DIASPORA}/fs2_open
41
45
42
PORTDATA=	data *.vp
46
PORTDATA=	data/cmdline_fso.cfg*
43
PORTDOCS=	*
47
PORTDOCS=	*
44
SUB_FILES=	fs2_open_${PORTNAME}
48
SUB_FILES=	fs2_open_${PORTNAME}
45
PLIST_FILES+=	bin/fs2_open_${PORTNAME} \
49
PLIST_FILES+=	bin/fs2_open_${PORTNAME} \
Lines 74-81 Link Here
74
78
75
post-extract: .SILENT
79
post-extract: .SILENT
76
.for v in 1.1 1.1.1
80
.for v in 1.1 1.1.1
77
	(cd ${WRKDIR} && tar -xf Patch_Files.${v}.tar -C ${WRKDIR_DIASPORA} && \
81
	(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
78
		${RM} Patch_Files.${v}.tar)
82
		Patch_Files.${v}.tar ${EXTRACT_AFTER_ARGS} -C ${WRKDIR_DIASPORA} \
83
		&& ${RM} Patch_Files.${v}.tar)
79
.endfor
84
.endfor
80
.if ${PORT_OPTIONS:MWXLAUNCHER}
85
.if ${PORT_OPTIONS:MWXLAUNCHER}
81
	(cd ${WRKDIR_DIASPORA} && ${CP} -f pro00099.template.ini pro00099.ini)
86
	(cd ${WRKDIR_DIASPORA} && ${CP} -f pro00099.template.ini pro00099.ini)
Lines 119-129 Link Here
119
	${LN} -sf ${PREFIX}/libexec/fs2_open_${PORTNAME} ${STAGEDIR}${DATADIR}
124
	${LN} -sf ${PREFIX}/libexec/fs2_open_${PORTNAME} ${STAGEDIR}${DATADIR}
120
.endif
125
.endif
121
126
122
add-plist-post: build-plist-empty
123
124
build-plist-empty: .SILENT
125
# Add required empty directories to TMPPLIST
126
	${FIND} ${STAGEDIR}${DATADIR}/data -type d -empty | \
127
		${SED} -e 's|^${STAGEDIR}|@dir |' >> ${TMPPLIST}
128
129
.include <bsd.port.mk>
127
.include <bsd.port.mk>

Return to bug 209814