Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.14 2017/05/31 08:08:17 espie Exp $
  2. # XXX check if still needed at next update
  3. CXXFLAGS += -std=c++11
  4. COMMENT= graphical hard drive inspection tool (smartctl front-end)
  5. DISTNAME= gsmartcontrol-0.8.7
  6. EXTRACT_SUFX= .tar.bz2
  7. REVISION= 0
  8. CATEGORIES= sysutils x11
  9. HOMEPAGE= http://gsmartcontrol.sourceforge.net/
  10. # GPLv2 or GPLv3
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
  13. WANTLIB += Xrandr Xrender atk-1.0 atkmm-1.6 c cairo cairomm-1.0
  14. WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gdkmm-2.4
  15. WANTLIB += gio-2.0 giomm-2.4 glib-2.0 glibmm-2.4 gobject-2.0 gtk-x11-2.0
  16. WANTLIB += gtkmm-2.4 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pangomm-1.4
  17. WANTLIB += pcre pthread sigc-2.0 util z
  18. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gsmartcontrol/}
  19. MODULES= devel/gettext
  20. # c++11
  21. COMPILER = gcc
  22. RUN_DEPENDS= devel/desktop-file-utils \
  23. sysutils/smartmontools \
  24. x11/gtk+3,-guic
  25. LIB_DEPENDS= x11/gtk2mm
  26. CONFIGURE_STYLE=gnu
  27. pre-configure:
  28. ${SUBST_CMD} ${WRKSRC}/src/gsc_settings.h
  29. .include <bsd.port.mk>