1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/databases/qof/Makefile
Tijl Coosemans f83c7639aa Remove libintl.so.9 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps.  Bump dependent ports that have not
been bumped since.
2016-12-08 19:52:19 +00:00

45 lines
1.1 KiB
Makefile

# $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>