aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gnomebasic/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-10 00:44:30 +0800
committersobomax <sobomax@FreeBSD.org>2001-07-10 00:44:30 +0800
commit83c5386889a2da2f4afec4fcb53aeab7b243b8a9 (patch)
treeca21307e9242e8dab7f9c261cf0dd5a2009921de /lang/gnomebasic/Makefile
parent165c2a671bd43521bcb20ba6b11293297d60ec84 (diff)
downloadfreebsd-ports-gnome-83c5386889a2da2f4afec4fcb53aeab7b243b8a9.tar.gz
freebsd-ports-gnome-83c5386889a2da2f4afec4fcb53aeab7b243b8a9.tar.zst
freebsd-ports-gnome-83c5386889a2da2f4afec4fcb53aeab7b243b8a9.zip
Update to 0.0.20.
Diffstat (limited to 'lang/gnomebasic/Makefile')
-rw-r--r--lang/gnomebasic/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/lang/gnomebasic/Makefile b/lang/gnomebasic/Makefile
index eb5ebb719c22..f70f7a9904a2 100644
--- a/lang/gnomebasic/Makefile
+++ b/lang/gnomebasic/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnomebasic
-PORTVERSION= 0.0.18
+PORTVERSION= 0.0.20
CATEGORIES= lang gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= unstable/sources/gb
@@ -17,9 +17,16 @@ MAINTAINER= gnome@FreeBSD.org
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
-USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${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\)/locale|\$\(prefix\)/share/locale|g'
+
.include <bsd.port.mk>