mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
2196b9068c
Reported by: pointyhat via kris Approved by: krion (mentor, implicit)
43 lines
931 B
Makefile
43 lines
931 B
Makefile
# New ports collection makefile for: synaesthesia
|
|
# Date created: 25 May 2001
|
|
# Whom: petef@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= synaesthesia
|
|
PORTVERSION= 2.4
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.logarithmic.net/pfh-files/synaesthesia/
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
COMMENT= Graphically represents sound in real time
|
|
|
|
USE_SDL= sdl
|
|
USE_GMAKE= Yes
|
|
USE_X_PREFIX= Yes
|
|
|
|
GNU_CONFIGURE= Yes
|
|
CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE}
|
|
PORTDOCS= README
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= Does not build on 4.x
|
|
.endif
|
|
|
|
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}/synaesthesia ${PREFIX}/bin/
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|