2012-03-29 09:38:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2012/03/29 13:38:40 sthen Exp $
|
2001-05-25 21:46:02 -04:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= visual sound representation
|
2001-05-25 21:46:02 -04:00
|
|
|
|
|
|
|
DISTNAME= synaesthesia-2.1
|
2011-11-02 05:57:21 -04:00
|
|
|
REVISION = 1
|
2001-05-25 21:46:02 -04:00
|
|
|
CATEGORIES= graphics x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://yoyo.cc.monash.edu.au/~pfh/synaesthesia.html
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2011-11-02 05:57:21 -04:00
|
|
|
|
|
|
|
WANTLIB= ICE SM X11 c m ossaudio pthread stdc++ SDL
|
2001-05-25 21:46:02 -04:00
|
|
|
|
|
|
|
MASTER_SITES= http://yoyo.cc.monash.edu.au/~pfh/
|
|
|
|
|
|
|
|
# esound default so it works with mpg123-esd and not just CDs
|
|
|
|
FLAVORS= esd
|
|
|
|
FLAVOR?= esd
|
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS= devel/sdl
|
2001-05-25 21:46:02 -04:00
|
|
|
|
2012-03-29 09:38:12 -04:00
|
|
|
SEPARATE_BUILD= Yes
|
2001-05-25 21:46:02 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
2011-12-02 09:36:13 -05:00
|
|
|
.if ${FLAVOR:Mesd}
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS+= audio/esound
|
2001-05-25 21:46:02 -04:00
|
|
|
CONFIGURE_ARGS+= --with-esound
|
2002-11-30 03:22:46 -05:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
2010-11-17 03:05:12 -05:00
|
|
|
WANTLIB += esd>=2
|
2001-05-25 21:46:02 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-esound
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/synaesthesia ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/synaesthesia
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/synaesthesia
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|