aboutsummaryrefslogtreecommitdiffstats
path: root/finance/gnofin
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-12 21:23:55 +0800
committerkrion <krion@FreeBSD.org>2003-10-12 21:23:55 +0800
commita2517fde3e9a6875cb5ed3428e5e3ed73c1540cb (patch)
tree5e884bf55566daaab640443a77f11c629b92d96b /finance/gnofin
parent6ac17637d0bb49c8e12a6ae5f4b6193ed11760f1 (diff)
downloadfreebsd-ports-gnome-a2517fde3e9a6875cb5ed3428e5e3ed73c1540cb.tar.gz
freebsd-ports-gnome-a2517fde3e9a6875cb5ed3428e5e3ed73c1540cb.tar.zst
freebsd-ports-gnome-a2517fde3e9a6875cb5ed3428e5e3ed73c1540cb.zip
- Reaarange USE_GNOME
PR: 57886 Submitted by: Ports Fury
Diffstat (limited to 'finance/gnofin')
-rw-r--r--finance/gnofin/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/finance/gnofin/Makefile b/finance/gnofin/Makefile
index c9f08a8a9217..dbc82f25fd3b 100644
--- a/finance/gnofin/Makefile
+++ b/finance/gnofin/Makefile
@@ -14,25 +14,21 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Light-weight GNOME based financial management program
-USE_REINPLACE= yes
USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomelibs gnomeprefix
USE_GMAKE= yes
-USE_GNOME= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib"
MAN1= gnofin.1
-pre-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
- -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \
- -e 's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|' \
- -e 's|$$(top_builddir)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
- -e 's|$$(datadir)/gnome/|$$(datadir)/|g' \
- -e ' s|$$(datadir)/locale|$$(prefix)/share/locale|g'
- @{FIND} ${WRKSRC}/plugins -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
- -e 's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g'
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
+ s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' \
+ ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g'
.include <bsd.port.mk>