openbsd-ports/converters/ppmtoTbmp/Makefile
2010-10-23 22:01:29 +00:00

33 lines
722 B
Makefile

# $OpenBSD: Makefile,v 1.10 2010/10/23 22:01:30 sthen Exp $
COMMENT= PPM to Pilot bitmap converter
DISTNAME= ppmtoTbmp-1.1
REVISION= 1
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 netpbm
MASTER_SITES= ${HOMEPAGE}
MAKE_FLAGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDLIBS="-L${LOCALBASE}/lib -lnetpbm -lm"
LIB_DEPENDS= ::graphics/netpbm
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/Tbmptopnm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKBUILD}/ppmtoTbmp ${PREFIX}/bin
REGRESS_TARGET= test
.include <bsd.port.mk>