openbsd-ports/graphics/tiff2png/Makefile

41 lines
976 B
Makefile
Raw Normal View History

2010-11-17 03:05:12 -05:00
# $OpenBSD: Makefile,v 1.16 2010/11/17 08:05:16 espie Exp $
2009-12-20 12:10:04 -05:00
COMMENT = converts TIFF images to PNG format
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
2009-12-20 12:10:04 -05:00
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
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
# 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/}
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
2009-12-20 12:10:04 -05:00
ALL_TARGET = tiff2png
2009-12-20 12:10:04 -05:00
NO_REGRESS = Yes
2002-10-26 20:03:16 -04:00
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/tiff2png ${PREFIX}/bin
.include <bsd.port.mk>