# New ports collection makefile for:	XmBibTeX
# Date created:				06 Nov 1997
# Whom:					Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD: ports/print/xmbibtex/Makefile,v 1.24 2009/06/09 15:33:16 amdmi3 Exp $
#

PORTNAME=	xmbibtex
PORTVERSION=	1.7
PORTREVISION=	2
CATEGORIES=	print databases
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	apps/tex

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A reference manager based on the BibTeX file format

WRKSRC=		${WRKDIR}/${DISTNAME}/src

USE_MOTIF=	yes
USE_IMAKE=	yes
USE_XORG=	ice sm x11 xext xmu xp xt xpm
NO_INSTALL_MANPAGES=	yes

PLIST_FILES=	bin/xmbibtex lib/X11/app-defaults/XmBibTeX

post-configure:
	@${REINPLACE_CMD} -e 's,(CCLINK,(CXXLINK, ; s,/usr/local,${PREFIX},' \
		${WRKSRC}/Makefile

.include <bsd.port.mk>
