openbsd-ports/graphics/tiff2png/Makefile

36 lines
910 B
Makefile
Raw Normal View History

2002-10-26 20:03:16 -04:00
# $OpenBSD: Makefile,v 1.7 2002/10/27 00:03:17 naddy 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
2002-03-02 21:42:34 -05:00
MASTER_SITES= ftp://swrinde.nde.swri.edu/pub/png/applications/
HOMEPAGE= http://www.libpng.org/pub/png/apps/tiff2png.html
LIB_DEPENDS= tiff.35::graphics/tiff \
png.2::graphics/png
2000-09-24 03:03:59 -04:00
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
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>