# Created by: Jose Marques # $FreeBSD$ PORTNAME= ppmtoTbmp PORTVERSION= 1.1 PORTREVISION= 4 CATEGORIES= palm graphics MASTER_SITES= http://www.isaac.cs.berkeley.edu/pilot/ MAINTAINER= ports@FreeBSD.org COMMENT= PPM to Pilot bitmap converter LICENSE= NONE LIB_DEPENDS= libnetpbm.so:graphics/netpbm USES= localbase:ldflags MAKE_ARGS= CFLAGS="${CFLAGS}" LDLIBS=-lnetpbm CFLAGS+= -I${LOCALBASE}/include/netpbm PORTDOCS= README OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^#include "ppmcmap\.h"/d' ${WRKSRC}/ppmtoTbmp.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ppmtoTbmp ${WRKSRC}/Tbmptopnm \ ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/q?.map ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include