# Created by: Jose Marques # $FreeBSD: head/palm/ppmtoTbmp/Makefile 412348 2016-04-01 14:17:44Z mat $ 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 LIB_DEPENDS= libnetpbm.so:graphics/netpbm LDFLAGS+= -L${LOCALBASE}/lib MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDLIBS=-lnetpbm PORTDOCS= README 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}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/q?.map ${STAGEDIR}${DATADIR} .include