summaryrefslogtreecommitdiff
path: root/comms/xlog/Makefile
blob: 38ba9217a918befdf97f0e92d5bfe9a589ee7d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
PORTNAME=	xlog
DISTVERSION=	2.0.24
PORTREVISION=	3
CATEGORIES=	comms hamradio
MASTER_SITES=	SAVANNAH

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Amateur Radio logging application
WWW=		https://xlog.nongnu.org/

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

DEPRECATED=	Uses upstream EOL gtk2 libraries
# Tentative expiration date
EXPIRATION_DATE=2024-12-31

LIB_DEPENDS=	libhamlib.so:comms/hamlib \
		libharfbuzz.so:print/harfbuzz \
		libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2


USES=		compiler:c11 gnome pkgconfig shared-mime-info
USE_GNOME=	cairo gdkpixbuf2 gtk20
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share

CONFIGURE_ARGS=	--enable-mime-update
CONFIGURE_ENV+=	ac_cv_c_compiler_gnu=no

DESKTOP_ENTRIES="${PORTNAME}" "${COMMENT}" "${PORTNAME}" \
	"${PORTNAME}" "Utility;" false

OPTIONS_DEFINE=	NLS DOCS
OPTIONS_SUB=	yes

NLS_USES=	gettext
NLS_CONFIGURE_OFF=	--disable-nls

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+=	-Wno-error=deprecated-non-prototype
.endif

.include <bsd.port.post.mk>