blob: bab0245e4e93782d703d477817d9c308af9a8fbf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Created by: Martin Blapp <mbr@freebsd.org>
# $FreeBSD$
PORTNAME= uade
PORTVERSION= 2.13
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://zakalwe.fi/uade/uade2/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Unix Amiga Delitracker Emulator
LIB_DEPENDS= ao:${PORTSDIR}/audio/libao
HAS_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
DOCSDIR= ${PREFIX}/share/doc/uade2
DATADIR= ${PREFIX}/share/uade2
CONFIGURE_ARGS= --prefix=${PREFIX} \
--mandir=${MANPREFIX}/man/man1 \
--no-debug --without-audacious
CONFIGURE_ENV= SYSCFLAGS='${CFLAGS}'
MAN1= uade123.1
PORTDOCS= BUGS PLANS REDUNDANT_REPLAYERS UAE-CREDITS UAE-README \
VERSION_CONTROL_TAGGING audio_emulation.txt design.tex \
download.html faq.html layers.eps layers.xfig \
play_loop_state_diagram.dia play_loop_state_diagram.eps \
play_loop_state_diagram.txt uade.html
OPTIONS_DEFINE= TEXTSCOPE FUSE XMMS DOCS
TEXTSCOPE_DESC= Audio register debug mode
XMMS_DESC= XMMS plugin
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTEXTSCOPE}
CONFIGURE_ARGS+=--with-text-scope
.endif
.if ${PORT_OPTIONS:MFUSE}
USES+= fuse
MAN1+= uadefs.1
PLIST_SUB+= FUSE=""
.else
CONFIGURE_ARGS+=--without-uadefs
PLIST_SUB+= FUSE="@comment "
.endif
.if ${PORT_OPTIONS:MXMMS}
LIB_DEPENDS+= xmms:${PORTSDIR}/multimedia/xmms
PLIST_SUB+= XMMS=""
.else
CONFIGURE_ARGS+=--without-xmms
PLIST_SUB+= XMMS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's,lib/pkgconfig,libdata/pkgconfig,' \
${WRKSRC}/configure
post-install:
@${RM} -rf ${DATADIR}/players/S
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|