openbsd-ports/japanese/gwaei/Makefile

51 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2013/02/05 23:37:06 fgsch Exp $
COMMENT = japanese-english dictionary program
V = 3.2.0
DISTNAME = gwaei-${V}
REVISION = 3
SHARED_LIBS = waei 0.0
CATEGORIES = japanese
HOMEPAGE = http://www.zacharydovel.com/software/gwaei/
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi \
Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi \
c cairo cairo-gobject crypto curl dbus-1 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 harfbuzz \
icudata icule icuuc idn m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs \
ssl 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>