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@
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2012/06/15 08:32:16 ajacoutot Exp $
|
|
|
|
COMMENT = japanese-english dictionary program
|
|
|
|
V = 3.2.0
|
|
DISTNAME = gwaei-${V}
|
|
REVISION = 2
|
|
|
|
SHARED_LIBS = waei 0.0
|
|
|
|
CATEGORIES = japanese
|
|
|
|
HOMEPAGE = http://gwaei.sourceforge.net/
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
|
Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo \
|
|
cairo-gobject crypto curl drm expat ffi fontconfig \
|
|
freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 \
|
|
gobject-2.0 gthread-2.0 gtk-3 idn m pango-1.0 pangocairo-1.0 \
|
|
pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs \
|
|
ssl stdc++ xcb xcb-render xcb-shm z
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gwaei/${V}/}
|
|
|
|
MODULES = devel/gettext \
|
|
x11/gnome
|
|
|
|
RUN_DEPENDS = fonts/ja-kanjistrokeorders-ttf \
|
|
textproc/docbook
|
|
LIB_DEPENDS = net/curl \
|
|
x11/gtk+3
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += ENCHANT="${LOCALBASE}/bin/enchant"
|
|
|
|
MODGNOME_TOOLS = yelp
|
|
MODGNOME_DESKTOP_FILE = Yes
|
|
MODGNOME_ICON_CACHE = Yes
|
|
|
|
post-patch:
|
|
${SUBST_CMD} ${WRKSRC}/src/gwaei/help/C/*.{in,xml}
|
|
|
|
.include <bsd.port.mk>
|