openbsd-ports/graphics/tiff2png/Makefile

35 lines
881 B
Makefile
Raw Normal View History

2006-08-03 08:53:18 -04:00
# $OpenBSD: Makefile,v 1.11 2006/08/03 12:53:18 espie Exp $
COMMENT= "converts TIFF images to PNG format"
2002-03-02 21:42:34 -05:00
DISTNAME= tiff2png-0.81c
CATEGORIES= graphics
2002-10-26 20:03:16 -04:00
2006-02-04 14:53:21 -05:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=png-mng/}
HOMEPAGE= http://www.libpng.org/pub/png/apps/tiff2png.html
2006-08-03 08:53:18 -04:00
LIB_DEPENDS= tiff.>=35::graphics/tiff \
png.>=2::graphics/png
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2005-01-28 19:19:11 -05:00
WANTLIB= c jpeg m z
MAKE_FLAGS= CC="${CC}" OPTIMFLAGS="${CFLAGS}" DEBUGFLAGS="-Wall -W" \
2002-05-26 13:32:57 -04:00
CFLAGS='$$(TIFF_VERSION) -DFAXPECT $$(MIN_INVERT) $$(OPTIMFLAGS) $$(DEBUGFLAGS) -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include' \
2002-03-02 21:42:34 -05:00
LDFLAGS="-L${LOCALBASE}/lib -lpng -lz -ltiff -ljpeg -lm"
MAKE_FILE= Makefile.unx
ALL_TARGET= tiff2png
2002-10-26 20:03:16 -04:00
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/tiff2png ${PREFIX}/bin
.include <bsd.port.mk>