2001-05-15 04:09:09 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: xmlppm
|
|
|
|
# Date created: May 15, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xmlppm
|
2003-05-18 23:23:13 +00:00
|
|
|
PORTVERSION= 0.97
|
2004-03-14 07:58:26 +00:00
|
|
|
PORTREVISION= 2
|
2001-05-15 04:09:09 +00:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://www.cs.cornell.edu/People/jcheney/xmlppm/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
|
2001-05-22 08:13:09 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:21:36 +00:00
|
|
|
COMMENT= XML-Conscious PPM Compression
|
2001-05-15 04:09:09 +00:00
|
|
|
|
2004-03-30 19:56:43 +00:00
|
|
|
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
|
2001-05-15 04:09:09 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
|
2003-05-18 23:23:13 +00:00
|
|
|
USE_GMAKE= yes
|
2004-03-30 19:56:43 +00:00
|
|
|
USE_ICONV= yes
|
2003-05-18 23:23:13 +00:00
|
|
|
MAKE_ARGS= CC="${CXX}" OPT_FLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lexpat -liconv"
|
2001-05-15 04:09:09 +00:00
|
|
|
|
|
|
|
do-install:
|
2003-05-18 23:23:13 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xmlppm ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xmlunppm ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
|
|
|
|
.endif
|
2001-05-15 04:09:09 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|