b2ed9a9bac
dependency for ghc - devel category ok kili@
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.7 2012/10/11 13:31:28 dcoppa Exp $
|
|
|
|
COMMENT= D-Bus profiler
|
|
|
|
DISTNAME= bustle-0.2.3
|
|
REVISION= 5
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://willthompson.co.uk/bustle/
|
|
|
|
# LGPLv2.1
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo
|
|
WANTLIB += dbus-1 expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
|
|
WANTLIB += gio-2.0 glade-2.0 glib-2.0 gobject-2.0
|
|
WANTLIB += gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
|
|
WANTLIB += pangoft2-1.0 pixman-1 png pthread pthread-stubs util
|
|
WANTLIB += xcb xcb-render xcb-shm xml2 z
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/releases/
|
|
|
|
MODULES= lang/ghc \
|
|
devel/gettext
|
|
|
|
MODGHC_BUILD= cabal nort
|
|
|
|
BUILD_DEPENDS= devel/hs-glade \
|
|
devel/hs-parsec
|
|
|
|
LIB_DEPENDS= devel/libglade2 \
|
|
x11/dbus
|
|
|
|
SUBST_VARS = DISTNAME
|
|
|
|
# no need to install LICENSE in both share{,doc}/${FULLPKGNAME}/
|
|
pre-configure:
|
|
perl -pi -e 's,^License-file.*,,' ${WRKSRC}/bustle.cabal
|
|
|
|
post-build:
|
|
perl -pi -e 's,-g -O2,,' ${WRKSRC}/Makefile
|
|
cd ${WRKBUILD} && ${MAKE_PROGRAM}
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/bustle-dbus-monitor ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|