1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/textproc/xmlppm/Makefile
2021-04-06 16:31:07 +02:00

33 lines
832 B
Makefile

# Created by: ijliao
PORTNAME= xmlppm
PORTVERSION= 0.98.3
PORTREVISION= 2
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: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>