1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/palm/ppmtoTbmp/Makefile
Ying-Chieh Liao ca4314169c pbm -> netpbm lib name change
PR:	40251, 40252, 40253, 40254
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2002-07-06 10:13:38 +00:00

32 lines
866 B
Makefile

# New ports collection makefile for: ppmtoTbmp
# Date created: 30th May 2001
# Whom: Jose Marques <noway@nohow.demon.co.uk>
#
# $FreeBSD$
#
PORTNAME= ppmtoTbmp
PORTVERSION= 1.1
CATEGORIES= palm graphics
MASTER_SITES= http://www.isaac.cs.berkeley.edu/pilot/
MAINTAINER= noway@nohow.demon.co.uk
LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
post-patch:
${PERL} -pi -e "s|^CFLAGS.+|CFLAGS += -I${LOCALBASE}/include|g; \
s|^LDLIBS =|LDLIBS = -L${LOCALBASE}/lib|g" ${WRKSRC}/Makefile
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>