freebsd-ports/net-im/pidgin-latex/Makefile
Tobias C. Berner 45526ecbee framework: Add new USES 'magick' for graphics/ImageMagick*
A new USES has been added to depend on ImageMagick.

	USES=magick

adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.

If a specific version is required, use for example

	USES=magick:6        resp.     USES=magick:7

If only a build, run or test is required, use for example

	USES=magick:build    resp.     USES=magick:6,build,test

If a dependency on the nox11 flavor is required, use for example

	USES=magick:nox11    resp.     USES=magick:7,nox11,run,test

See magick.mk for more details on the available flags.

The tree has been completely converted to make use of this.

Approved by:	bapt
Differential Revision: https://reviews.freebsd.org/D32754
2021-12-11 14:50:53 +01:00

30 lines
783 B
Makefile

# Created by: Geoffrey Mainland <mainland@apeiron.net>
PORTNAME= latex
PORTVERSION= 1.0
PORTREVISION= 10
CATEGORIES= net-im
MASTER_SITES= SF/pidgin-${PORTNAME}/pidgin-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= pidgin-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= mainland@apeiron.net
COMMENT= Display LaTeX output in your IMs
BUILD_DEPENDS= ${LOCALBASE}/include/pidgin/pidgin.h:net-im/pidgin
RUN_DEPENDS= pidgin:net-im/pidgin
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}
USES= gmake gnome magick:6,run pkgconfig tar:bzip2
USE_TEX= latex
USE_GNOME= gtk20
MAKE_ARGS= CC="${CC}"
PLIST_FILES= lib/pidgin/LaTeX.so
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/pidgin
${INSTALL_LIB} ${WRKSRC}/LaTeX.so ${STAGEDIR}${PREFIX}/lib/pidgin
.include <bsd.port.mk>