1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/palm/ppmtoTbmp/Makefile

33 lines
866 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= netpbm.1:${PORTSDIR}/graphics/netpbm
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDLIBS=-lnetpbm
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/^#include "ppmcmap.h"/d' ${WRKSRC}/ppmtoTbmp.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ppmtoTbmp ${WRKSRC}/Tbmptopnm \
${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ppmtoTbmp
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ppmtoTbmp
.endif
${MKDIR} ${PREFIX}/share/ppmtoTbmp
${INSTALL_DATA} ${WRKSRC}/q?.map ${PREFIX}/share/${PORTNAME}
.include <bsd.port.mk>