1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- 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
This commit is contained in:
Pete Fritchman 2003-05-19 00:06:01 +00:00
parent 3999a53b40
commit 8b98987210
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81309
3 changed files with 35 additions and 14 deletions

View File

@ -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>

View File

@ -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

View File

@ -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