a1b7c39eb5
Don't redirect errors to /dev/null and don't return true(1) unconditionally. Instead, don't check for the existence of index.theme. This will allow us to catch errors that may be happening because of a missing dependency in the chain. Some hidden issues may appear, in which case please contact me. discussed with and ok blind jasper@
37 lines
869 B
Makefile
37 lines
869 B
Makefile
# $OpenBSD: Makefile,v 1.5 2012/06/15 08:32:17 ajacoutot Exp $
|
|
|
|
COMMENT = bug tracker client
|
|
DISTNAME = entomologist-0.6
|
|
REVISION= 3
|
|
CATEGORIES = productivity
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=entomologist/}
|
|
HOMEPAGE = http://entomologist.sourceforge.net
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MODULES = x11/qt4
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
x11/gtk+2 \
|
|
x11/gtk+2,-guic
|
|
WANTLIB += QtGui QtNetwork QtSql QtXml c m pthread stdc++
|
|
|
|
MAKE_FLAGS = CXX=${CXX} \
|
|
QMAKE_CXXFLAGS="${CXXFLAGS} -g"
|
|
FAKE_FLAGS = INSTALL_ROOT=${DESTDIR}
|
|
CONFIGURE_ARGS = PREFIX=${PREFIX}
|
|
NO_REGRESS = Yes
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/main.cpp
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CONFIGURE_ENV} \
|
|
${LOCALBASE}/bin/qmake4 ${CONFIGURE_ARGS}
|
|
|
|
.include <bsd.port.mk>
|