summaryrefslogtreecommitdiff
path: root/databases/gbib
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-19 00:06:01 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-19 00:06:01 +0000
commit8b9898721086629f898f47b61ef578623732e755 (patch)
treee92bd4ba118b6bb8b554f792ea0b88d78d0d38bb /databases/gbib
parentUpdate to 5.3.1 (diff)
- unbreak: update to 0.1.2
- use autoconf - silence when ${CAT}ing pkg-message - also install the smalltalk site-lisp PR: 52134 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=81309
Diffstat (limited to 'databases/gbib')
-rw-r--r--databases/gbib/Makefile35
-rw-r--r--databases/gbib/distinfo3
-rw-r--r--databases/gbib/pkg-plist11
3 files changed, 35 insertions, 14 deletions
diff --git a/databases/gbib/Makefile b/databases/gbib/Makefile
index 87dc9c101260..f3633689b86e 100644
--- a/databases/gbib/Makefile
+++ b/databases/gbib/Makefile
@@ -6,25 +6,44 @@
#
PORTNAME= gbib
-PORTVERSION= 0.1.1b
+PORTVERSION= 0.1.2
+PORTREVISION= 1
CATEGORIES= databases editors gnome
MASTER_SITES= ftp://ftp.seul.org/pub/gbib/src/ \
http://www.unixpages.org/distfiles/
+PATCH_SITES= ${MASTER_SITE_DEBIAN}
+PATCH_SITE_SUBDIR= pool/main/g/gbib
+PATCHFILES= ${PORTNAME}_${PORTVERSION}-1.diff.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= ports@FreeBSD.org
COMMENT= Editor/browser for BibTeX bibliographic databases
USE_X_PREFIX= yes
USE_GNOME= gnomelibs
-GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+USE_AUTOCONF_VER= 213
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
-.include <bsd.port.pre.mk>
+CFLAGS+= -fpermissive
-.if ${OSVERSION} > 500000
-BROKEN= "Does not build on 5.0"
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|map.h,|map,|g ; \
+ s|vector.h,|vector,|g' ${WRKSRC}/configure.in
+ @${REINPLACE_CMD} -e \
+ 's|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/aclocal.m4
+ @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|CXXFLAGS = -g|CXXFLAGS = @CXXFLAGS@|g ; \
+ s|^exec_prefix =.*$$|exec_prefix = @exec_prefix@|g ; \
+ s|^datadir =.*$$|datadir = @datadir@|g ; \
+ s|^localedir =.*$$|localedir = $$(prefix)/share/locale|g'
post-install:
- ${CAT} ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/gbib/distinfo b/databases/gbib/distinfo
index 654e64c8352b..d9ec6d4f0a56 100644
--- a/databases/gbib/distinfo
+++ b/databases/gbib/distinfo
@@ -1 +1,2 @@
-MD5 (gbib-0.1.1b.tar.gz) = 9b4d1c6c3554606674ee73cdc428a691
+MD5 (gbib-0.1.2.tar.gz) = b90e05dbac8be823ccb06616eaff3d02
+MD5 (gbib_0.1.2-1.diff.gz) = d597d0e9704859e9fd4abe4ca9bc7280
diff --git a/databases/gbib/pkg-plist b/databases/gbib/pkg-plist
index 3b5084b8ea16..dfa64db3a9f7 100644
--- a/databases/gbib/pkg-plist
+++ b/databases/gbib/pkg-plist
@@ -1,6 +1,7 @@
bin/gbib
-share/gbibtex/gbib.rc
-share/gbibtex/lyx.xpm
-share/gbibtex/gbib48.xpm
-@dirrm share/gbibtex
-
+share/gbib/gbib.rc
+share/gbib/lyx.xpm
+share/gbib/gbib48.xpm
+share/locale/fr/LC_MESSAGES/gbib.mo
+share/locale/pt_BR/LC_MESSAGES/gbib.mo
+@dirrm share/gbib