openbsd-ports/audio/xhippo/Makefile

48 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.29 2009/08/10 06:29:52 kili Exp $
COMMENT= generic playlist manager for UNIX
DISTNAME= xhippo-3.3
PKGNAME= ${DISTNAME}p10
CATEGORIES= audio
HOMEPAGE= http://www.gnu.org/software/xhippo/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
WANTLIB += pthread-stubs xcb z
MASTER_SITES= ${MASTER_SITE_GNU:=xhippo/}
LIB_DEPENDS= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2 \
id3tag.>=2::audio/libid3tag
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-gtk2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MODULES= devel/gettext
DOCS= ChangeLog gnu-xhippo.html screenshot.jpeg xhippo.html.gz \
xhippo.info.gz xhippo.ps.gz xhippo.sgml xhippo.txt.gz xhippo_toc.html
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xhippo
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xhippo
${INSTALL_DATA} ${WRKSRC}/xhippo.config ${PREFIX}/share/examples/xhippo/xhippo.config-sample
${INSTALL_DATA} ${WRKSRC}/xhippo.gtkrc ${PREFIX}/share/examples/xhippo
cd ${WRKSRC}/doc; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/xhippo
.include <bsd.port.mk>