35 lines
1015 B
Makefile
35 lines
1015 B
Makefile
COMMENT= logbook program for amateur radio operators
|
|
|
|
DISTNAME= xlog-2.0.15
|
|
CATEGORIES= comms hamradio
|
|
REVISION= 2
|
|
|
|
HOMEPAGE= http://www.nongnu.org/xlog/
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE= 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
|
|
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/ \
|
|
https://distfiles.sigtrap.nl/
|
|
|
|
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>
|