freebsd-ports/palm/ppmtoTbmp/Makefile
Alexey Dokuchaev fda46f9f9a - Remove conditional on ${PORT_OPTIONS:MDOCS} and simplify the Makefile
- Offload documentation from pkg-plist into PORTDOCS variable, tighten
  sed(1) regexp, mute MKDIR's; fix spelling and EOL spaces in pkg-descr
2014-06-26 12:38:57 +00:00

31 lines
830 B
Makefile

# Created by: Jose Marques <noway@nohow.demon.co.uk>
# $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
LIB_DEPENDS= libnetpbm.so:${PORTSDIR}/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 <bsd.port.mk>