freebsd-ports/textproc/xmlppm/Makefile
Marcus von Appen 95e7081976 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig and
  USE_GETTEXT=yes to USES=gettext while here
2013-04-27 18:25:24 +00:00

42 lines
926 B
Makefile

# ex:ts=8
# New ports collection makefile for: xmlppm
# Date created: May 15, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xmlppm
PORTVERSION= 0.98.3
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-src/${PORTVERSION} \
http://www.cs.cornell.edu/People/jcheney/xmlppm/
MAINTAINER= hsmtkk@gmail.com
COMMENT= XML-Conscious PPM Compression
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
USES= iconv
USE_GMAKE= yes
MAKE_ARGS= CC="${CXX}" CFLAGS="${CXXFLAGS}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexpat -liconv"
GNU_CONFIGURE= yes
.if !defined(NOPORTDOCS)
PORTDOCS= README
.endif
PLIST_FILES= bin/xmlppm bin/xmlunppm
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xmlppm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/xmlunppm ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>