35 lines
1.0 KiB
Makefile
Raw Normal View History

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