aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xmlppm/Makefile
blob: 28794790a52db6ba99dd576d7aefb43ae75458f3 (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
31
32
33
# ex:ts=8
# New ports collection makefile for:    xmlppm
# Date created:         May 15, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   xmlppm
PORTVERSION=    0.96
PORTREVISION=   2
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        http://www.cs.cornell.edu/People/jcheney/xmlppm/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= ports@FreeBSD.org
COMMENT=    XML-Conscious PPM Compression

LIB_DEPENDS=    expat.4:${PORTSDIR}/textproc/expat2

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_REINPLACE=  yes
USE_GMAKE=  yes

post-patch:
    @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile

do-install:
    @(cd ${WRKSRC} ; ${INSTALL_PROGRAM} xmlppm xmlunppm ${PREFIX}/bin)

.include <bsd.port.mk>