blob: 028e2de460cd173d6bbe0642bf8a87c6b80fa579 (
plain)
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
|
# Created by: petef@FreeBSD.org
# $FreeBSD$
PORTNAME= synaesthesia
PORTVERSION= 2.4
PORTREVISION= 5
CATEGORIES= graphics audio
MASTER_SITES= http://www.logarithmic.net/pfh-files/synaesthesia/
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphically represents sound in real time
LICENSE= GPLv2
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE}
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,' ${WRKSRC}/*.c?
@${REINPLACE_CMD} -e 's,int16_t,u_int16_t,' ${WRKSRC}/sound.cc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
PLIST_FILES+= %%DOCSDIR%%/README
PLIST_DIRS+= %%DOCSDIR%%
.endif
.include <bsd.port.mk>
|