1999-12-23 21:42:33 +01:00
|
|
|
# New ports collection makefile for: gnofin
|
|
|
|
# Date created: Sun Jul 18 1999
|
|
|
|
# Whom: domi@saargate.de
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 00:04:57 +02:00
|
|
|
PORTNAME= gnofin
|
2000-12-02 13:20:12 +01:00
|
|
|
PORTVERSION= 0.8.4
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 10
|
2004-01-22 18:59:27 +01:00
|
|
|
CATEGORIES= finance deskutils gnome
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF
|
1999-12-23 21:42:33 +01:00
|
|
|
|
2008-02-21 22:20:01 +01:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Light-weight GNOME based financial management program
|
1999-12-23 21:42:33 +01:00
|
|
|
|
2008-03-10 16:55:33 +01:00
|
|
|
USE_XORG= xpm sm
|
2003-10-12 15:23:55 +02:00
|
|
|
USE_GNOME= gnomehack gnomelibs gnomeprefix
|
1999-12-23 21:42:33 +01:00
|
|
|
USE_GMAKE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2008-03-10 16:55:33 +01:00
|
|
|
|
2007-12-14 17:51:00 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT=yes
|
|
|
|
PLIST_SUB= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
|
|
|
.endif
|
1999-12-23 21:42:33 +01:00
|
|
|
|
|
|
|
MAN1= gnofin.1
|
|
|
|
|
2003-10-12 15:23:55 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
|
2005-06-01 21:56:04 +02:00
|
|
|
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g ; \
|
|
|
|
s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
2003-10-12 15:23:55 +02:00
|
|
|
${WRKSRC}/configure
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g'
|
2007-12-14 17:51:00 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's|%%%GNOFIN_LIBDIR%%%|${PREFIX}/lib/gnofin/plugins|g' \
|
|
|
|
${WRKSRC}/src/Makefile.am
|
1999-12-23 21:42:33 +01:00
|
|
|
|
2007-12-14 17:51:00 +01:00
|
|
|
.include <bsd.port.mk>
|