2013-09-21 01:17:30 +02:00
|
|
|
# Created by: ijliao
|
2001-05-15 06:09:09 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xmlppm
|
2009-07-25 02:49:53 +02:00
|
|
|
PORTVERSION= 0.98.3
|
2001-05-15 06:09:09 +02:00
|
|
|
CATEGORIES= textproc
|
2009-08-22 02:37:17 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-src/${PORTVERSION} \
|
2001-05-15 06:09:09 +02:00
|
|
|
http://www.cs.cornell.edu/People/jcheney/xmlppm/
|
2009-08-22 02:37:17 +02:00
|
|
|
|
2001-05-15 06:09:09 +02:00
|
|
|
|
2009-07-25 02:49:53 +02:00
|
|
|
MAINTAINER= hsmtkk@gmail.com
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= XML-Conscious PPM Compression
|
2001-05-15 06:09:09 +02:00
|
|
|
|
2006-01-31 00:20:05 +01:00
|
|
|
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
|
2001-05-15 06:09:09 +02:00
|
|
|
|
2013-04-27 20:25:24 +02:00
|
|
|
USES= iconv
|
2004-08-18 20:34:33 +02:00
|
|
|
USE_GMAKE= yes
|
2005-05-03 13:02:53 +02:00
|
|
|
MAKE_ARGS= CC="${CXX}" CFLAGS="${CXXFLAGS}" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
2013-09-04 20:06:07 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lexpat ${ICONV_LIB}"
|
2009-07-25 02:49:53 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-05-15 06:09:09 +02:00
|
|
|
|
2005-05-03 13:02:53 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-08-18 20:34:33 +02:00
|
|
|
PORTDOCS= README
|
2005-05-03 13:02:53 +02:00
|
|
|
.endif
|
|
|
|
|
2004-08-18 20:34:33 +02:00
|
|
|
PLIST_FILES= bin/xmlppm bin/xmlunppm
|
2004-08-16 04:33:05 +02:00
|
|
|
|
2013-09-21 01:17:30 +02:00
|
|
|
NO_STAGE= yes
|
2001-05-15 06:09:09 +02:00
|
|
|
do-install:
|
2009-07-25 02:49:53 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/xmlppm ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/xmlunppm ${PREFIX}/bin
|
2003-05-19 01:23:13 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2009-07-25 02:49:53 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2003-05-19 01:23:13 +02:00
|
|
|
.endif
|
2001-05-15 06:09:09 +02:00
|
|
|
|
2004-08-18 20:34:33 +02:00
|
|
|
.include <bsd.port.mk>
|