aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jp2a/Makefile
blob: 7c562123dc593c541c4ac527c506294edf3c23e9 (plain) (blame)
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
28
29
30
# New ports collection makefile for:    jp2a
# Date created:     17 August 2006
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

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

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

LIB_DEPENDS=    jpeg.11:${PORTSDIR}/graphics/jpeg \
        curl.6:${PORTSDIR}/ftp/curl

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-jpeg-prefix=${LOCALBASE} --with-curl-config=${LOCALBASE}/bin/curl-config
MAN1=       ${PORTNAME}.1
PLIST_FILES=    bin/${PORTNAME}

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
    @${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1/

.include <bsd.port.mk>