1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/textproc/xmlppm/Makefile
Raphael Kubo da Costa a3509509d3 Stop passing -fcheck-new to the compiler.
This flag is GCC specific, and there should be no big loss with its removal.
This commit fixes the build on HEAD (clang 3.4).

MFH:		2014Q2
2014-05-16 22:26:00 +00:00

34 lines
856 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= xmlppm
PORTVERSION= 0.98.3
PORTREVISION= 1
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= libexpat.so:${PORTSDIR}/textproc/expat2
USES= iconv gmake
MAKE_ARGS= CC="${CXX}" CFLAGS="${CXXFLAGS}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexpat ${ICONV_LIB}"
GNU_CONFIGURE= yes
PORTDOCS= README
PLIST_FILES= bin/xmlppm bin/xmlunppm
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xmlppm ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/xmlunppm ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>