diff options
Diffstat (limited to 'palm/ppmtoTbmp/Makefile')
-rw-r--r-- | palm/ppmtoTbmp/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile new file mode 100644 index 000000000000..3b301ccff128 --- /dev/null +++ b/palm/ppmtoTbmp/Makefile @@ -0,0 +1,31 @@ +# 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= pbm.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> |