freebsd-ports/graphics/synaesthesia/Makefile
Kris Kennaway 06531c7a0b BROKEN on 5.x: Does not compile
Approved by:    portmgr (self)[
2004-09-26 03:19:53 +00:00

43 lines
1 KiB
Makefile

# New ports collection makefile for: synaesthesia
# Date created: 25 May 2001
# Whom: petef@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= synaesthesia
PORTVERSION= 2.2
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.logarithmic.net/pfh/Synaesthesia/
MAINTAINER= petef@FreeBSD.org
COMMENT= Graphically represents sound in real time
USE_SDL= sdl
USE_GMAKE= Yes
USE_REINPLACE= Yes
USE_X_PREFIX= Yes
GNU_CONFIGURE= Yes
CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
post-patch:
@${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,' `${FIND} ${WRKSRC} -name \*.cc -or -name \*.c`
@${REINPLACE_CMD} -e 's,int16_t,u_int16_t,' \
-e 's,machine/soundcard.h,sys/soundcard.h,' ${WRKSRC}/sound.cc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/synaesthesia ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/synaesthesia
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/synaesthesia
.endif
.include <bsd.port.post.mk>