35 lines
888 B
Makefile
35 lines
888 B
Makefile
# $OpenBSD: Makefile,v 1.9 2005/10/30 00:10:41 fgsch Exp $
|
|
|
|
COMMENT= "converts TIFF images to PNG format"
|
|
|
|
DISTNAME= tiff2png-0.81c
|
|
CATEGORIES= graphics
|
|
|
|
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
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c jpeg m z
|
|
|
|
MAKE_FLAGS= CC="${CC}" OPTIMFLAGS="${CFLAGS}" DEBUGFLAGS="-Wall -W" \
|
|
CFLAGS='$$(TIFF_VERSION) -DFAXPECT $$(MIN_INVERT) $$(OPTIMFLAGS) $$(DEBUGFLAGS) -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include' \
|
|
LDFLAGS="-L${LOCALBASE}/lib -lpng -lz -ltiff -ljpeg -lm"
|
|
|
|
MAKE_FILE= Makefile.unx
|
|
|
|
ALL_TARGET= tiff2png
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/tiff2png ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|