1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/finance/grisbi/Makefile
Jason E. Hale b97c9d0f79 - Update finance/libofx to 0.9.9
- Support staging
- Remove USE_GCC= any; port seems to build fine with clang
- Move LICENSE to proper location
- Modernize LIB_DEPENDS
- USE_GMAKE -> USES= gmake
- Update pkg-descr to reflect current capabilities
- Bump PORTREVISION on dependent ports due to so version bump
2013-10-04 13:26:28 +00:00

49 lines
1.0 KiB
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= grisbi
PORTVERSION= 0.8.9
PORTREVISION= 2
CATEGORIES= finance
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION:R}.x/
MAINTAINER= thierry@FreeBSD.org
COMMENT= Personal accounting application
LICENSE= GPLv2
LIB_DEPENDS= libofx.so:${PORTSDIR}/finance/libofx
USE_BZIP2= yes
USES= gmake iconv pkgconfig
GNU_CONFIGURE= yes
USE_GNOME= gtk20 glib20 libxml2
USE_OPENSSL= yes
WITH_OPENSSL_PORT= yes
INSTALLS_ICONS= yes
MAN1= grisbi.1
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
pre-configure:
${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
${WRKSRC}/${CONFIGURE_SCRIPT}
.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e "s|pixmaps help|pixmaps|" ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>