blob: 7338395b53b9daf11159a56eafc24ecd3df8bd58 (
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
37
38
39
40
41
42
43
44
|
# $FreeBSD$
PORTNAME= qof
PORTVERSION= 0.8.8
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= DEBIAN_POOL
DISTNAME= qof_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Query Object Framework
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS_INSTALL= gnotime-2.[0-3]* gnotime-2.4.0* gnotime-2.4.1 gnotime-2.4.1_[12]*
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-doxygen --disable-gdasql --disable-sqlite
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USES= gmake libtool pathfix pkgconfig
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} -e '/CFLAGS=/s|-g2||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|__isleap|qof_date_isleap|' \
${WRKSRC}/qof/qofdate.c
@${REINPLACE_CMD} -e '/^AM_CFLAGS =/s|-g||' \
${WRKSRC}/lib/libsql/Makefile.in \
${WRKSRC}/qof/Makefile.in
@${REINPLACE_CMD} -e '/^sql_parse_test_DEPENDENCIES =/s/$$/ libqofsql.la/' \
${WRKSRC}/lib/libsql/Makefile.in
.include <bsd.port.mk>
|