Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # $OpenBSD: Makefile,v 1.29 2017/05/03 08:52:56 espie Exp $
  2. COMMENT= music tracking tool for X11
  3. V= 0.6.8
  4. DISTNAME= soundtracker_$V.gtk2_17092006_1613
  5. PKGNAME= soundtracker-$V
  6. REVISION= 5
  7. CATEGORIES= audio
  8. HOMEPAGE= http://www.shaltev.org/programming.html
  9. MAINTAINER= Wilbern Cobb <wcobb@openbsd.org>
  10. # GPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. MASTER_SITES= http://www.shaltev.org/data/
  13. EXTRACT_SUFX= .tar.bz2
  14. WANTLIB += ICE ORBit-2 SM X11 Xcomposite Xcursor Xdamage Xext
  15. WANTLIB += Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0
  16. WANTLIB += bonobo-2 bonobo-activation bonoboui-2 c cairo expat
  17. WANTLIB += fontconfig freetype gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0
  18. WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gnome-2 gnomecanvas-2
  19. WANTLIB += gnomeui-2 gnomevfs-2 gobject-2.0 gthread-2.0 gtk-x11-2.0
  20. WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
  21. WANTLIB += popt pthread pthread-stubs sndfile sndio xcb xcb-render
  22. WANTLIB += xcb-shm z
  23. LIB_DEPENDS= audio/libsndfile \
  24. x11/gnome/libgnomeui
  25. MODULES= devel/gettext
  26. CONFIGURE_STYLE= gnu
  27. CONFIGURE_ARGS= --disable-alsa \
  28. --disable-sgi \
  29. --disable-oss \
  30. --disable-esd \
  31. --disable-sun \
  32. --disable-sdl \
  33. --disable-jack \
  34. --disable-splash
  35. CFLAGS += -fgnu89-inline
  36. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DDRIVER_SNDIO" \
  37. LDFLAGS="-L${LOCALBASE}/lib" \
  38. LIBS="-lsndio"
  39. WRKDIST= ${WRKDIR}/soundtracker-$V.gtk2
  40. DOCS= FAQ NEWS README \
  41. doc/xi.txt doc/xm.txt doc/xp.txt
  42. post-extract:
  43. @ln -s ${FILESDIR}/sndio-input.c ${WRKSRC}/app/drivers
  44. @ln -s ${FILESDIR}/sndio-output.c ${WRKSRC}/app/drivers
  45. post-install:
  46. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/soundtracker
  47. cd ${WRKSRC} && \
  48. ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/soundtracker
  49. .include <bsd.port.mk>