1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/textproc/xmlppm/Makefile
Kirill Ponomarev a9f6551306 - Use USE_ICONV knob
Approved by:	portmgr
2004-03-30 19:56:43 +00:00

39 lines
923 B
Makefile

# ex:ts=8
# New ports collection makefile for: xmlppm
# Date created: May 15, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xmlppm
PORTVERSION= 0.97
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.5:${PORTSDIR}/textproc/expat2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_GMAKE= yes
USE_ICONV= yes
MAKE_ARGS= CC="${CXX}" OPT_FLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexpat -liconv"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xmlppm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xmlunppm ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
.endif
.include <bsd.port.mk>