summaryrefslogtreecommitdiff
path: root/graphics/jp2a/Makefile
blob: 2370f5d0678e68737c4b4b42b7a595a880b4ef10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=	jp2a
PORTVERSION=	1.0.6
PORTREVISION=	6
CATEGORIES=	graphics
MASTER_SITES=	SF

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Converts JPG images to ASCII

LIB_DEPENDS=	libcurl.so:ftp/curl

USES=		jpeg tar:bzip2
GNU_CONFIGURE=	yes

CONFIGURE_ARGS=	--with-jpeg-prefix=${LOCALBASE} \
		--with-curl-config=${LOCALBASE}/bin/curl-config

PLIST_FILES=	bin/jp2a man/man1/jp2a.1.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/jp2a ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man/jp2a.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>