2006-08-03 08:53:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2006/08/03 12:53:18 espie 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-10-26 20:03:16 -04:00
|
|
|
|
2006-02-04 14:53:21 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=png-mng/}
|
2000-07-09 20:19:36 -04:00
|
|
|
|
|
|
|
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
|
2000-07-09 20:19:36 -04:00
|
|
|
|
|
|
|
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
|
2000-07-09 20:19:36 -04: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"
|
|
|
|
|
|
|
|
MAKE_FILE= Makefile.unx
|
2000-07-09 20:19:36 -04:00
|
|
|
|
|
|
|
ALL_TARGET= tiff2png
|
|
|
|
|
2002-10-26 20:03:16 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2000-07-09 20:19:36 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/tiff2png ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|