Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
36 lines
979 B
Makefile
36 lines
979 B
Makefile
# $NetBSD: Makefile,v 1.8 2010/06/13 22:43:57 wiz Exp $
|
|
|
|
VERSION= 1.2.1
|
|
PKGREVISION= 5
|
|
DISTNAME= pidgin-latex-${VERSION}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
CATEGORIES= chat print
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pidgin-latex/}
|
|
WRKSRC= ${WRKDIR}/pidgin-latex
|
|
|
|
MAINTAINER= smb@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/projects/pidgin-latex/
|
|
COMMENT= Plugin for pidgin to render LaTeX as images
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= gmake
|
|
USE_TOOLS+= pkg-config
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
INSTALLATION_DIRS= lib/pidgin share/doc/pidgin-latex
|
|
|
|
do-install:
|
|
${INSTALL_LIB} ${WRKSRC}/LaTeX.so ${DESTDIR}${PREFIX}/lib/pidgin/LaTeX.so
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pidgin-latex/
|
|
|
|
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
|
|
|
|
.include "../../chat/pidgin/buildlink3.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../mk/tex.buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|