Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.12 2017/05/07 01:05:10 naddy Exp $
  2. COMMENT = simple, fast GTK-based text editor
  3. DISTNAME = tpad-5.7.1.3
  4. CATEGORIES = editors x11
  5. REVISION = 3
  6. HOMEPAGE = https://launchpad.net/tpad-project/
  7. # GPLv3+
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
  10. WANTLIB += Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi c cairo
  11. WANTLIB += cairo-gobject dbus-1 enchant epoxy expat ffi fontconfig
  12. WANTLIB += freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
  13. WANTLIB += gobject-2.0 graphite2 gthread-2.0 gtk-3 gtksourceview-3.0
  14. WANTLIB += gtkspell3-3 gucharmap_2_90 harfbuzz lzma m magic pango-1.0
  15. WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
  16. WANTLIB += pthread-stubs ${LIBCXX} xcb xcb-render xcb-shm xml2 z
  17. MASTER_SITES = https://launchpad.net/tpad-project/4.0/4.0/+download/
  18. MODULES = devel/gettext \
  19. textproc/intltool
  20. LIB_DEPENDS = devel/libmagic \
  21. textproc/gtkspell3 \
  22. x11/gnome/gucharmap \
  23. x11/gtksourceview3
  24. RUN_DEPENDS = devel/desktop-file-utils
  25. CONFIGURE_STYLE = gnu
  26. CONFIGURE_ARGS = --disable-libunity
  27. USE_GMAKE = Yes
  28. FAKE_FLAGS = itlocaledir=${PREFIX}/share/locale \
  29. tpaddocdir=
  30. # Upstream has given up on making their tests work.
  31. NO_TEST = Yes
  32. post-patch:
  33. sed -i "s,Linux User's,OpenBSD Reference,g" ${WRKSRC}/man/tpad.1
  34. .include <bsd.port.mk>