openbsd-ports/devel/qt4-eventsview/Makefile

52 lines
1.3 KiB
Makefile
Raw Normal View History

2011-07-06 14:29:00 -04:00
# $OpenBSD: Makefile,v 1.8 2011/07/06 18:29:00 ajacoutot Exp $
BROKEN= does not work with Qt >= 4.6
2007-05-03 06:29:11 -04:00
COMMENT= event viewer for qt4
2007-05-03 06:29:11 -04:00
CATEGORIES= devel x11
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
SHARED_LIBS= eventsview 0.0
.for l v in $(SHARED_LIBS)
MAKE_FLAGS+=LIB$l_VERSION=$v
.endfor
2009-06-16 21:20:59 -04:00
DIST_SUBDIR= qt4-eventsview-$V
V= 0.1
2007-05-03 06:29:11 -04:00
DISTNAME= 57337-eventsview
2010-11-08 05:28:22 -05:00
PKGNAME= qt4-eventsview-$V
2011-07-06 14:29:00 -04:00
REVISION = 2
2007-05-03 06:29:11 -04:00
MASTER_SITES= http://qt-apps.org/CONTENT/content-files/
WRKDIST= ${WRKDIR}/eventsview
2011-07-06 14:29:00 -04:00
MODULES= x11/qt4 \
devel/gettext
2007-05-03 06:29:11 -04:00
do-configure:
cd ${WRKDIST} && env -i ${CONFIGURE_ENV} qmake4
cd ${WRKDIST}/test && ln -sf ../lib/eventsview.h
SAMPLE= ${PREFIX}/share/examples/eventsview
do-install:
${INSTALL_DATA} ${WRKBUILD}/lib/libeventsview.so.${LIBeventsview_VERSION} ${PREFIX}/lib
${INSTALL_DATA_DIR} ${PREFIX}/include/X11/qt4
${INSTALL_DATA} ${WRKBUILD}/lib/eventsview.h ${PREFIX}/include/X11/qt4
${INSTALL_DATA_DIR} ${SAMPLE}
${INSTALL_DATA} ${WRKBUILD}/test/{Makefile,main.cpp} ${SAMPLE}
${INSTALL_PROGRAM} ${WRKBUILD}/test/test ${SAMPLE}
2010-11-15 14:45:56 -05:00
LIB_DEPENDS= devel/glib2
2007-05-03 06:29:11 -04:00
2009-06-16 21:20:59 -04:00
WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender c expat fontconfig
2011-07-06 14:29:00 -04:00
WANTLIB += freetype m png pthread pthread-stubs stdc++ xcb z
2010-11-08 05:28:22 -05:00
WANTLIB += glib-2.0 gobject-2.0 gthread-2.0 lib/qt4/QtGui
2007-05-03 06:29:11 -04:00
SUBST_VARS= SAMPLE
.include <bsd.port.mk>