Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.25 2017/04/28 22:29:31 ajacoutot Exp $
  2. COMMENT= logbook program for amateur radio operators
  3. DISTNAME= xlog-2.0.14
  4. CATEGORIES= comms hamradio
  5. HOMEPAGE= http://www.nongnu.org/xlog/
  6. # GPLv3
  7. PERMIT_PACKAGE_CDROM= Yes
  8. WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
  9. WANTLIB += Xrandr Xrender atk-1.0 c cairo fontconfig freetype
  10. WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
  11. WANTLIB += gtk-x11-2.0 hamlib intl m pango-1.0 pangocairo-1.0
  12. WANTLIB += pangoft2-1.0 z
  13. MASTER_SITES= http://download.savannah.nongnu.org/releases/xlog/
  14. RUN_DEPENDS= devel/desktop-file-utils \
  15. misc/shared-mime-info
  16. LIB_DEPENDS= comms/hamlib \
  17. x11/gtk+2
  18. CONFIGURE_STYLE= gnu
  19. CONFIGURE_ENV= UPDATE_DESKTOP_DATABASE=/usr/bin/true
  20. pre-configure:
  21. # Needed for strptime(3); prevents a buttload of patches
  22. perl -pi -e 's,^(#define _XOPEN_SOURCE)$$,\1\n#define _XOPEN_SOURCE_EXTENDED 1,g' \
  23. ${WRKSRC}/src/logfile/*.c ${WRKSRC}/src/callbacks_mainwindow_menu.c
  24. .include <bsd.port.mk>