aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-06-21 12:22:08 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-06-21 12:22:08 +0000
commit1456f96a12c86aa2f058347824e48cdeac6bc2b7 (patch)
tree08475719dd27f6a1c2c3c15d62f2b3d515a85f91 /finance
parentf461c99e12328dbc2daa566cdcf599c04fc77cdc (diff)
downloadports-1456f96a12c86aa2f058347824e48cdeac6bc2b7.tar.gz
ports-1456f96a12c86aa2f058347824e48cdeac6bc2b7.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/gnucash-devel/Makefile12
-rw-r--r--finance/gnucash-devel/files/patch-lib::srfi::srfi-8.scm15
-rw-r--r--finance/gnucash/Makefile12
-rw-r--r--finance/gnucash/files/patch-lib::srfi::srfi-8.scm15
4 files changed, 44 insertions, 10 deletions
diff --git a/finance/gnucash-devel/Makefile b/finance/gnucash-devel/Makefile
index daf0c82c6c82..b6acbed87844 100644
--- a/finance/gnucash-devel/Makefile
+++ b/finance/gnucash-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnucash
PORTVERSION= 1.6.6
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= http://www.gnucash.org/pub/gnucash/sources/stable/ \
ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \
@@ -35,6 +36,7 @@ USE_GMAKE= yes
USE_XPM= yes
USE_PERL5= yes
USE_GNOME= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-glib-config=${GLIB_CONFIG}
@@ -44,11 +46,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
MAN1= gnc-prices.1 gnucash.1
pre-patch:
- @${PERL} -pi -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
+ @${REINPLACE_CMD} -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's^\$\{datadir\}/gnome/^\$\(datadir\)/^g ; \
- s^\$\{datadir\}/aclocal^\$\(prefix\)/share/aclocal^g ; \
- s^\$\{datadir\}/locale^\$\(prefix\)/share/locale^g'
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|[{]datadir[}]/gnome/|(datadir)/|g ; \
+ s|[{]datadir[}]/aclocal|(prefix)/share/aclocal|g ; \
+ s|[{]datadir[}]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>
diff --git a/finance/gnucash-devel/files/patch-lib::srfi::srfi-8.scm b/finance/gnucash-devel/files/patch-lib::srfi::srfi-8.scm
new file mode 100644
index 000000000000..5d352c0f263d
--- /dev/null
+++ b/finance/gnucash-devel/files/patch-lib::srfi::srfi-8.scm
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- lib/srfi/srfi-8.scm 2002/06/21 12:07:11 1.1
++++ lib/srfi/srfi-8.scm 2002/06/21 12:17:48
+@@ -22,7 +22,8 @@
+ (cond
+ ((or (string=? "1.3" (version))
+ (string=? "1.3.4" (version))
+- (string=? "1.4" (version)))
++ (string=? "1.4" (version))
++ (string=? "1.4.1" (version)))
+
+ (use-modules (ice-9 slib))
+ (require 'macro-by-example)
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile
index daf0c82c6c82..b6acbed87844 100644
--- a/finance/gnucash/Makefile
+++ b/finance/gnucash/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnucash
PORTVERSION= 1.6.6
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= http://www.gnucash.org/pub/gnucash/sources/stable/ \
ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \
@@ -35,6 +36,7 @@ USE_GMAKE= yes
USE_XPM= yes
USE_PERL5= yes
USE_GNOME= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-glib-config=${GLIB_CONFIG}
@@ -44,11 +46,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
MAN1= gnc-prices.1 gnucash.1
pre-patch:
- @${PERL} -pi -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
+ @${REINPLACE_CMD} -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's^\$\{datadir\}/gnome/^\$\(datadir\)/^g ; \
- s^\$\{datadir\}/aclocal^\$\(prefix\)/share/aclocal^g ; \
- s^\$\{datadir\}/locale^\$\(prefix\)/share/locale^g'
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|[{]datadir[}]/gnome/|(datadir)/|g ; \
+ s|[{]datadir[}]/aclocal|(prefix)/share/aclocal|g ; \
+ s|[{]datadir[}]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>
diff --git a/finance/gnucash/files/patch-lib::srfi::srfi-8.scm b/finance/gnucash/files/patch-lib::srfi::srfi-8.scm
new file mode 100644
index 000000000000..5d352c0f263d
--- /dev/null
+++ b/finance/gnucash/files/patch-lib::srfi::srfi-8.scm
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- lib/srfi/srfi-8.scm 2002/06/21 12:07:11 1.1
++++ lib/srfi/srfi-8.scm 2002/06/21 12:17:48
+@@ -22,7 +22,8 @@
+ (cond
+ ((or (string=? "1.3" (version))
+ (string=? "1.3.4" (version))
+- (string=? "1.4" (version)))
++ (string=? "1.4" (version))
++ (string=? "1.4.1" (version)))
+
+ (use-modules (ice-9 slib))
+ (require 'macro-by-example)