mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
11220e0471
Reported by: miwi
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# New ports collection makefile for: gbib
|
|
# Date created: 26 February 2002
|
|
# Whom: Christian Brueffer (chris@unixpages.org)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gbib
|
|
DISTVERSION= 0.1.3rc1
|
|
PORTREVISION= 4
|
|
CATEGORIES= databases editors gnome
|
|
MASTER_SITES= http://gbib.seul.org/
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Editor/browser for BibTeX bibliographic databases
|
|
|
|
IGNORE= Master site has disappeared
|
|
|
|
USE_GNOME= gnomelibs
|
|
USE_GMAKE= yes
|
|
USE_GETTEXT= yes
|
|
USE_AUTOTOOLS= libtool
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -lintl"
|
|
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 ; \
|
|
s|^gnulocaledir =.*$$|gnulocaledir = $$(prefix)/share/locale|g; \
|
|
s|-fwritable-strings||g'
|
|
@${FIND} ${WRKSRC} -name "*.orig" -delete
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|