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@
62 lines
1.3 KiB
Makefile
62 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.17 2012/06/15 08:32:14 ajacoutot Exp $
|
|
|
|
COMMENT-main= free UML builder with extensions
|
|
COMMENT-docs= bouml documentation
|
|
|
|
V= 4.22.2
|
|
DISTNAME= bouml_$V
|
|
PKGNAME= bouml-$V
|
|
PKGNAME-main= bouml-$V
|
|
PKGNAME-docs= bouml-docs-$V
|
|
REVISION-main = 3
|
|
REVISION-docs= 0
|
|
|
|
CATEGORIES= devel x11
|
|
|
|
HOMEPAGE= http://bouml.free.fr/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bouml/} \
|
|
ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
|
|
MASTER_SITES0= ${HOMEPAGE}
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
doc4.23${EXTRACT_SUFX}:0
|
|
|
|
MULTI_PACKAGES= -main -docs
|
|
|
|
WANTLIB = X11 Xext c m pthread stdc++
|
|
|
|
RUN_DEPENDS-main= devel/desktop-file-utils \
|
|
x11/gtk+2,-guic
|
|
|
|
MODULES= x11/qt3
|
|
USE_GMAKE= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
ALL_TARGET= # empty
|
|
CONFIGURE_STYLE= # empty
|
|
|
|
PKG_ARCH-docs= *
|
|
LIB_DEPENDS-docs= # empty
|
|
RUN_DEPENDS-docs= # empty
|
|
WANTLIB-docs = # empty
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/Makefile
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}/src && ${LOCALBASE}/bin/qmake -unix
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bouml
|
|
cd ${WRKDIR}/doc && pax -rw . ${PREFIX}/share/doc/bouml
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/
|
|
|
|
.include <bsd.port.mk>
|