openbsd-ports/converters/ppmtoTbmp/Makefile

32 lines
732 B
Makefile

# $OpenBSD: Makefile,v 1.8 2007/01/20 09:31:53 sturm Exp $
COMMENT= "PPM to Pilot bitmap converter"
DISTNAME= ppmtoTbmp-1.1
PKGNAME= ${DISTNAME}p1
CATEGORIES= converters graphics
HOMEPAGE= http://www.isaac.cs.berkeley.edu/pilot/
MAINTAINER= Josh Rivel <dorqus@bsdfreek.com>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m
MASTER_SITES= ${HOMEPAGE}
MAKE_FLAGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDLIBS="-L${LOCALBASE}/lib -lnetpbm -lm"
LIB_DEPENDS= netpbm::graphics/netpbm
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/Tbmptopnm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKBUILD}/ppmtoTbmp ${PREFIX}/bin
REGRESS_TARGET= test
.include <bsd.port.mk>