ports/52134: Update port: databases/gbib to 0.1.2

KATO Tsuguru tkato at prontomail.com
Mon May 12 22:30:17 UTC 2003


>Number:         52134
>Category:       ports
>Synopsis:       Update port: databases/gbib to 0.1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 12 15:30:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.1.2

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/databases/gbib/Makefile databases/gbib/Makefile
--- /usr/ports/databases/gbib/Makefile	Sat Apr 19 13:16:11 2003
+++ databases/gbib/Makefile	Mon May 12 15:20:36 2003
@@ -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 at FreeBSD.org
 COMMENT=	Editor/browser for BibTeX bibliographic databases
 
 USE_X_PREFIX=	yes
 USE_GNOME=	gnomelibs
-GNU_CONFIGURE=	yes
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 500000
-BROKEN=		"Does not build on 5.0"
-.endif
+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}"
+
+CFLAGS+=	-fpermissive
+
+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 -urN /usr/ports/databases/gbib/distinfo databases/gbib/distinfo
--- /usr/ports/databases/gbib/distinfo	Sat Nov 23 13:10:42 2002
+++ databases/gbib/distinfo	Mon May 12 08:15:04 2003
@@ -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 -urN /usr/ports/databases/gbib/pkg-plist databases/gbib/pkg-plist
--- /usr/ports/databases/gbib/pkg-plist	Sat Nov 23 13:10:42 2002
+++ databases/gbib/pkg-plist	Mon May 12 15:18:34 2003
@@ -1,6 +1,7 @@
 bin/gbib
-share/gbibtex/gbib.rc
-share/gbibtex/lyx.xpm
-share/gbibtex/gbib48.xpm
- at 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
+ at dirrm share/gbib
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list