2011-10-12 08:54:30 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2011/10/12 12:54:31 jasper Exp $
|
2002-02-05 13:04:10 -05:00
|
|
|
|
2009-12-19 17:59:27 -05:00
|
|
|
COMMENT= music tracking tool for X11
|
2002-02-05 13:04:10 -05:00
|
|
|
|
2010-04-08 04:47:09 -04:00
|
|
|
V= 0.6.8
|
|
|
|
DISTNAME= soundtracker_$V.gtk2_17092006_1613
|
2010-09-05 18:00:13 -04:00
|
|
|
PKGNAME= soundtracker-$V
|
2011-10-12 08:54:30 -04:00
|
|
|
REVISION= 3
|
2002-02-05 13:04:10 -05:00
|
|
|
CATEGORIES= audio
|
2010-04-08 04:47:09 -04:00
|
|
|
HOMEPAGE= http://www.shaltev.org/programming.html
|
2002-02-05 13:04:10 -05:00
|
|
|
|
2002-05-08 15:24:56 -04:00
|
|
|
MAINTAINER= Wilbern Cobb <wcobb@openbsd.org>
|
2002-02-05 13:04:10 -05:00
|
|
|
|
2009-12-19 17:59:27 -05:00
|
|
|
# GPLv2
|
2002-02-05 13:04:10 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2010-04-08 04:47:09 -04:00
|
|
|
MASTER_SITES= http://www.shaltev.org/data/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-02-05 13:04:10 -05:00
|
|
|
|
2011-10-12 08:54:30 -04:00
|
|
|
WANTLIB += GL ICE ORBit-2 SM X11 Xcomposite Xcursor Xdamage Xext
|
|
|
|
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0
|
|
|
|
WANTLIB += bonobo-2 bonobo-activation bonoboui-2 c cairo expat
|
|
|
|
WANTLIB += fontconfig freetype gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0
|
|
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gnome-2 gnomecanvas-2
|
|
|
|
WANTLIB += gnomeui-2 gnomevfs-2 gobject-2.0 gthread-2.0 gtk-x11-2.0
|
|
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
|
|
|
|
WANTLIB += popt pthread pthread-stubs sndfile sndio xcb xcb-render
|
|
|
|
WANTLIB += xcb-shm z
|
2010-04-08 04:47:09 -04:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS= audio/libsndfile \
|
|
|
|
x11/gnome/libgnomeui
|
2002-02-05 13:04:10 -05:00
|
|
|
|
2007-10-02 15:09:44 -04:00
|
|
|
MODULES= devel/gettext
|
2002-05-30 05:08:28 -04:00
|
|
|
|
2009-12-19 17:59:27 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --disable-alsa \
|
2002-02-05 13:04:10 -05:00
|
|
|
--disable-sgi \
|
2008-08-21 10:11:14 -04:00
|
|
|
--disable-oss \
|
2009-12-19 17:59:27 -05:00
|
|
|
--disable-esd \
|
|
|
|
--disable-sun \
|
|
|
|
--disable-sdl \
|
|
|
|
--disable-jack \
|
2008-08-21 10:11:14 -04:00
|
|
|
--disable-splash
|
2009-12-19 17:59:27 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DDRIVER_SNDIO" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
LIBS="-lsndio"
|
2002-02-05 13:04:10 -05:00
|
|
|
|
2010-04-08 04:47:09 -04:00
|
|
|
WRKDIST= ${WRKDIR}/soundtracker-$V.gtk2
|
|
|
|
|
2002-05-30 05:08:28 -04:00
|
|
|
DOCS= FAQ NEWS README \
|
2009-12-19 17:59:27 -05:00
|
|
|
doc/xi.txt doc/xm.txt doc/xp.txt
|
2002-02-05 13:04:10 -05:00
|
|
|
|
|
|
|
post-extract:
|
2009-12-19 17:59:27 -05:00
|
|
|
@ln -s ${FILESDIR}/sndio-input.c ${WRKSRC}/app/drivers
|
|
|
|
@ln -s ${FILESDIR}/sndio-output.c ${WRKSRC}/app/drivers
|
2002-02-05 13:04:10 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/soundtracker
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/soundtracker
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|