2010-11-17 03:05:12 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2010/11/17 08:05:16 espie Exp $
|
2001-05-06 01:05:43 -04:00
|
|
|
|
2009-12-20 12:10:04 -05:00
|
|
|
COMMENT = converts TIFF images to PNG format
|
2000-07-09 20:19:36 -04:00
|
|
|
|
2009-12-20 12:10:04 -05:00
|
|
|
DISTNAME = tiff2png-0.91
|
2010-11-09 14:00:28 -05:00
|
|
|
REVISION = 0
|
2009-12-20 12:10:04 -05:00
|
|
|
CATEGORIES = graphics
|
2002-10-26 20:03:16 -04:00
|
|
|
|
2009-12-20 12:10:04 -05:00
|
|
|
HOMEPAGE = http://www.libpng.org/pub/png/apps/tiff2png.html
|
2000-07-09 20:19:36 -04:00
|
|
|
|
2009-12-20 12:10:04 -05:00
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2000-07-09 20:19:36 -04:00
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS = graphics/tiff \
|
|
|
|
graphics/png
|
2010-11-09 14:00:28 -05:00
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
WANTLIB = c jpeg m z tiff>=35 png>=8
|
2000-07-09 20:19:36 -04:00
|
|
|
|
2009-01-13 13:46:19 -05:00
|
|
|
# custom, see tiff2png.c
|
2009-12-20 12:10:04 -05:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=png-mng/}
|
2000-07-09 20:19:36 -04:00
|
|
|
|
2009-12-20 12:10:04 -05:00
|
|
|
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"
|
|
|
|
|
2009-12-20 12:10:04 -05:00
|
|
|
MAKE_FILE = Makefile.unx
|
2000-07-09 20:19:36 -04:00
|
|
|
|
2009-12-20 12:10:04 -05:00
|
|
|
ALL_TARGET = tiff2png
|
2000-07-09 20:19:36 -04:00
|
|
|
|
2009-12-20 12:10:04 -05:00
|
|
|
NO_REGRESS = Yes
|
2002-10-26 20:03:16 -04:00
|
|
|
|
2000-07-09 20:19:36 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/tiff2png ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|