2002-03-02 21:42:34 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2002/03/03 02:42:34 brad Exp $
|
2001-05-06 01:05:43 -04:00
|
|
|
|
|
|
|
COMMENT= "converts TIFF images to PNG format"
|
2000-07-09 20:19:36 -04:00
|
|
|
|
2002-03-02 21:42:34 -05:00
|
|
|
DISTNAME= tiff2png-0.81c
|
2000-07-09 20:19:36 -04:00
|
|
|
CATEGORIES= graphics
|
2002-03-02 21:42:34 -05:00
|
|
|
NEED_VERSION= 1.500
|
|
|
|
MASTER_SITES= ftp://swrinde.nde.swri.edu/pub/png/applications/
|
2000-07-09 20:19:36 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.libpng.org/pub/png/apps/tiff2png.html
|
|
|
|
|
|
|
|
LIB_DEPENDS= tiff.35::graphics/tiff \
|
2001-05-23 22:27:06 -04:00
|
|
|
png.2::graphics/png
|
2000-07-09 20:19:36 -04:00
|
|
|
|
2000-09-24 03:03:59 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
2000-07-09 20:19:36 -04:00
|
|
|
|
|
|
|
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" \
|
|
|
|
CFLAGS='$$(TIFF_VERSION) -DFAXPECT $$(MIN_INVERT) $$(OPTIMFLAGS) $$(DEBUGFLAGS) -I${LOCALBASE}/include' \
|
2002-03-02 21:42:34 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lpng -lz -ltiff -ljpeg -lm"
|
|
|
|
|
|
|
|
MAKE_FILE= Makefile.unx
|
2000-07-09 20:19:36 -04:00
|
|
|
|
|
|
|
ALL_TARGET= tiff2png
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/tiff2png ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|