summaryrefslogtreecommitdiffstats
path: root/databases/gbib
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-19 00:06:01 +0000
committerpetef <petef@FreeBSD.org>2003-05-19 00:06:01 +0000
commitfed5d9ccbb045cfb3235b241c9f3ce7336d5f87a (patch)
treedcdf3fdd70799e29e3253d1e07c638dcc82f068d /databases/gbib
parentff0dc646fa0cbe72e09b0bacf55fc8c8382260e9 (diff)
downloadFreeBSD-ports-fed5d9ccbb045cfb3235b241c9f3ce7336d5f87a.zip
FreeBSD-ports-fed5d9ccbb045cfb3235b241c9f3ce7336d5f87a.tar.gz
- 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
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 87dc9c1..f363368 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 654e64c..d9ec6d4 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 3b5084b8..dfa64db 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
OpenPOWER on IntegriCloud