46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.20 2018/09/20 09:22:03 ajacoutot Exp $
|
|
|
|
COMMENT = simple, fast GTK-based text editor
|
|
DISTNAME = tpad-5.7.1.3
|
|
CATEGORIES = editors x11
|
|
REVISION = 10
|
|
|
|
HOMEPAGE = https://launchpad.net/tpad-project/
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
|
WANTLIB += Xrandr Xrender aspell atk-1.0 atk-bridge-2.0 atspi
|
|
WANTLIB += c cairo cairo-gobject dbus-1 enchant-2 epoxy expat
|
|
WANTLIB += ffi fontconfig freetype fribidi gdk-3 gdk_pixbuf-2.0
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
|
|
WANTLIB += gthread-2.0 gtk-3 gtksourceview-3.0 gtkspell3-3 gucharmap_2_90
|
|
WANTLIB += harfbuzz iconv intl lzma m magic pango-1.0 pangocairo-1.0
|
|
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread xcb xcb-render
|
|
WANTLIB += xcb-shm xml2 z
|
|
|
|
MASTER_SITES = https://launchpad.net/tpad-project/4.0/4.0/+download/
|
|
|
|
MODULES = textproc/intltool
|
|
|
|
LIB_DEPENDS = devel/libmagic \
|
|
textproc/gtkspell3 \
|
|
x11/gnome/gucharmap \
|
|
x11/gtksourceview3
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = --disable-libunity
|
|
USE_GMAKE = Yes
|
|
FAKE_FLAGS = itlocaledir=${PREFIX}/share/locale \
|
|
tpaddocdir=
|
|
# Upstream has given up on making their tests work.
|
|
NO_TEST = Yes
|
|
|
|
post-patch:
|
|
sed -i "s,Linux User's,OpenBSD Reference,g" ${WRKSRC}/man/tpad.1
|
|
|
|
.include <bsd.port.mk>
|