Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.39 2015/03/27 08:11:27 ajacoutot Exp $
  2. COMMENT= simple GTK+ text editor
  3. DISTNAME= leafpad-0.8.18.1
  4. REVISION= 3
  5. CATEGORIES= editors x11
  6. HOMEPAGE= http://tarot.freeshell.org/leafpad/
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= ${MASTER_SITE_SAVANNAH:=leafpad/}
  10. WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
  11. WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo
  12. WANTLIB += drm expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
  13. WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
  14. WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
  15. WANTLIB += pixman-1 png pthread pthread-stubs xcb xcb-render xcb-shm
  16. WANTLIB += z
  17. MODULES= devel/gettext \
  18. textproc/intltool
  19. LIB_DEPENDS= x11/gtk+2
  20. RUN_DEPENDS= devel/desktop-file-utils \
  21. x11/gtk+3,-guic
  22. USE_GMAKE= Yes
  23. CONFIGURE_STYLE=gnu
  24. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  25. LDFLAGS="-L${LOCALBASE}/lib"
  26. post-install:
  27. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/leafpad
  28. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/leafpad/
  29. .include <bsd.port.mk>