View | Details | Raw Unified | Return to bug 52134
Collapse All | Expand All

(-)databases/gbib/Makefile (-10 / +29 lines)
Lines 6-30 Link Here
6
#
6
#
7
7
8
PORTNAME=	gbib
8
PORTNAME=	gbib
9
PORTVERSION=	0.1.1b
9
PORTVERSION=	0.1.2
10
PORTREVISION=	1
10
CATEGORIES=	databases editors gnome
11
CATEGORIES=	databases editors gnome
11
MASTER_SITES=	ftp://ftp.seul.org/pub/gbib/src/ \
12
MASTER_SITES=	ftp://ftp.seul.org/pub/gbib/src/ \
12
		http://www.unixpages.org/distfiles/
13
		http://www.unixpages.org/distfiles/
13
14
15
PATCH_SITES=	${MASTER_SITE_DEBIAN}
16
PATCH_SITE_SUBDIR=      pool/main/g/gbib
17
PATCHFILES=     ${PORTNAME}_${PORTVERSION}-1.diff.gz
18
PATCH_DIST_STRIP=       -p1
19
14
MAINTAINER=	ports@FreeBSD.org
20
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Editor/browser for BibTeX bibliographic databases
21
COMMENT=	Editor/browser for BibTeX bibliographic databases
16
22
17
USE_X_PREFIX=	yes
23
USE_X_PREFIX=	yes
18
USE_GNOME=	gnomelibs
24
USE_GNOME=	gnomelibs
19
GNU_CONFIGURE=	yes
25
USE_REINPLACE=	yes
20
26
USE_GMAKE=	yes
21
.include <bsd.port.pre.mk>
27
USE_AUTOCONF_VER=	213
22
28
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
23
.if ${OSVERSION} > 500000
29
		LDFLAGS="-L${LOCALBASE}/lib"
24
BROKEN=		"Does not build on 5.0"
30
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
25
.endif
31
		AUTOHEADER="${TRUE}"
32
33
CFLAGS+=	-fpermissive
34
35
post-patch:
36
	@${REINPLACE_CMD} -e 's|map.h,|map,|g ; \
37
		 s|vector.h,|vector,|g' ${WRKSRC}/configure.in
38
	@${REINPLACE_CMD} -e \
39
		's|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/aclocal.m4
40
	@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
41
		's|CXXFLAGS = -g|CXXFLAGS = @CXXFLAGS@|g ; \
42
		 s|^exec_prefix =.*$$|exec_prefix = @exec_prefix@|g ; \
43
		 s|^datadir =.*$$|datadir = @datadir@|g ; \
44
		 s|^localedir =.*$$|localedir = $$(prefix)/share/locale|g'
26
45
27
post-install:
46
post-install:
28
	${CAT} ${PKGMESSAGE}
47
	@${CAT} ${PKGMESSAGE}
29
48
30
.include <bsd.port.post.mk>
49
.include <bsd.port.mk>
(-)databases/gbib/distinfo (-1 / +2 lines)
Line 1 Link Here
1
MD5 (gbib-0.1.1b.tar.gz) = 9b4d1c6c3554606674ee73cdc428a691
1
MD5 (gbib-0.1.2.tar.gz) = b90e05dbac8be823ccb06616eaff3d02
2
MD5 (gbib_0.1.2-1.diff.gz) = d597d0e9704859e9fd4abe4ca9bc7280
(-)databases/gbib/pkg-plist (-5 / +6 lines)
Lines 1-6 Link Here
1
bin/gbib
1
bin/gbib
2
share/gbibtex/gbib.rc
2
share/gbib/gbib.rc
3
share/gbibtex/lyx.xpm
3
share/gbib/lyx.xpm
4
share/gbibtex/gbib48.xpm
4
share/gbib/gbib48.xpm
5
@dirrm share/gbibtex
5
share/locale/fr/LC_MESSAGES/gbib.mo
6
6
share/locale/pt_BR/LC_MESSAGES/gbib.mo
7
@dirrm share/gbib

Return to bug 52134