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

(-)emulators/mupen64plus-plugins/Makefile (-32 / +6 lines)
Lines 5-18 Link Here
5
PORTVERSION=	2.5
5
PORTVERSION=	2.5
6
PORTREVISION=	0
6
PORTREVISION=	0
7
CATEGORIES=	emulators
7
CATEGORIES=	emulators
8
MASTER_SITES=	# empty
9
PKGNAMESUFFIX=	-plugins
8
PKGNAMESUFFIX=	-plugins
10
DISTFILES=	# empty
11
EXTRACT_ONLY=	# empty
12
9
13
MAINTAINER?=	acm@FreeBSD.org
10
MAINTAINER?=	acm@FreeBSD.org
14
COMMENT=	Third party plugins for Mupen64plus
11
COMMENT=	Third party plugins for Mupen64plus
15
12
13
USES=		metaport
14
16
OPTIONS_DEFINE=	VIDEO_ARACHNOID VIDEO_GLIDE64 VIDEO_Z64 RSP_Z64 RSP_CXD4
15
OPTIONS_DEFINE=	VIDEO_ARACHNOID VIDEO_GLIDE64 VIDEO_Z64 RSP_Z64 RSP_CXD4
17
VIDEO_ARACHNOID_DESC=	Arachnoid video plugin
16
VIDEO_ARACHNOID_DESC=	Arachnoid video plugin
18
VIDEO_GLIDE64_DESC=	Glide64 video plugin
17
VIDEO_GLIDE64_DESC=	Glide64 video plugin
Lines 22-54 Link Here
22
21
23
OPTIONS_DEFAULT=	VIDEO_ARACHNOID VIDEO_GLIDE64 VIDEO_Z64 RSP_Z64 RSP_CXD4
22
OPTIONS_DEFAULT=	VIDEO_ARACHNOID VIDEO_GLIDE64 VIDEO_Z64 RSP_Z64 RSP_CXD4
24
23
25
.include <bsd.port.pre.mk>
24
.for OPT in ${OPTIONS_DEFINE}
25
${OPT}_RUN_DEPENDS=	${LOCALBASE}/lib/${PORTNAME}/mupen64plus-${OPT:tl:S/_/-/}.so:${PORTSDIR}/emulators/mupen64plus-${OPT:tl:S/_/-/}
26
.endfor
26
27
27
# Graphics plugins
28
.include <bsd.port.mk>
28
.if ${PORT_OPTIONS:MVIDEO_ARACHNOID}
29
RUN_DEPENDS+=	${LOCALBASE}/lib/${PORTNAME}/mupen64plus-video-arachnoid.so:${PORTSDIR}/emulators/mupen64plus-video-arachnoid
30
.endif
31
32
.if ${PORT_OPTIONS:MVIDEO_GLIDE64}
33
RUN_DEPENDS+=	${LOCALBASE}/lib/${PORTNAME}/mupen64plus-video-glide64.so:${PORTSDIR}/emulators/mupen64plus-video-glide64
34
.endif
35
36
.if ${PORT_OPTIONS:MVIDEO_Z64}
37
RUN_DEPENDS+=	${LOCALBASE}/lib/${PORTNAME}/mupen64plus-video-z64.so:${PORTSDIR}/emulators/mupen64plus-video-z64
38
.endif
39
40
# RSP plugins
41
.if ${PORT_OPTIONS:MRSP_Z64}
42
RUN_DEPENDS+=	${LOCALBASE}/lib/${PORTNAME}/mupen64plus-rsp-z64.so:${PORTSDIR}/emulators/mupen64plus-rsp-z64
43
.endif
44
45
.if ${PORT_OPTIONS:MRSP_CXD4}
46
RUN_DEPENDS+=	${LOCALBASE}/lib/${PORTNAME}/mupen64plus-rsp-cxd4.so:${PORTSDIR}/emulators/mupen64plus-rsp-cxd4
47
.endif
48
49
NO_MTREE=	yes
50
NO_BUILD=	yes
51
52
do-install:	# empty
53
54
.include <bsd.port.post.mk>

Return to bug 201637