aboutsummaryrefslogtreecommitdiffstats
path: root/comms/xlog/Makefile
blob: 09e7894eca4fc191dfd2aab4acb0f573f62395d8 (plain) (blame)
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
# Created by: Patrick Gardella <patrick@FreeBSD.org>
# $FreeBSD$

PORTNAME=   xlog
PORTVERSION=    2.0.12
CATEGORIES= comms hamradio
MASTER_SITES=   SAVANNAH
MASTER_SITE_SUBDIR= xlog

MAINTAINER= danilo@FreeBSD.org
COMMENT=    Amateur Radio logging application

LICENSE=    GPLv3

LIB_DEPENDS=    libhamlib.so:${PORTSDIR}/comms/hamlib

USES=       pkgconfig shared-mime-info
USE_GNOME=  gtk20
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-mime-update
CONFIGURE_ENV+= ac_cv_c_compiler_gnu=no
MAKE_ARGS=  PREFIX=/${PREFIX}

OPTIONS_DEFINE= NLS DOCS
OPTIONS_SUB=    yes
NLS_USES=   gettext
NLS_CONFIGURE_OFF=  --disable-nls

DESKTOP_ENTRIES="${PORTNAME}" "${COMMENT}" "${PORTNAME}.xpm" \
    "${PORTNAME}" "Utility;" ${FALSE}

post-patch:
    @${REINPLACE_CMD} -e 's/@INSTALL_DATA@/${INSTALL} -m 644/' \
        ${WRKSRC}/data/desktop/Makefile.in

.include <bsd.port.mk>