2000-07-04 09:00:08 +02:00
|
|
|
# New ports collection makefile for: tiff2png
|
|
|
|
# Date created: Tue 04 Jul 2000
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tiff2png
|
2002-09-17 19:25:54 +02:00
|
|
|
PORTVERSION= 0.91
|
2002-09-02 21:15:38 +02:00
|
|
|
PORTEPOCH= 1
|
2000-07-04 09:00:08 +02:00
|
|
|
CATEGORIES= graphics
|
2004-07-15 18:45:52 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
2000-07-04 09:00:08 +02:00
|
|
|
ftp://swrinde.nde.swri.edu/pub/png/applications/
|
2004-07-15 18:45:52 +02:00
|
|
|
MASTER_SITE_SUBDIR= png-mng
|
2000-07-04 09:00:08 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= Converts TIFF images to PNG format
|
2000-07-04 09:00:08 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
2001-09-11 04:22:51 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png
|
2000-07-04 09:00:08 +02:00
|
|
|
|
2000-11-26 16:35:38 +01:00
|
|
|
MAKEFILE= Makefile.unx
|
2004-07-15 18:45:52 +02:00
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
2000-07-04 09:00:08 +02:00
|
|
|
ALL_TARGET= tiff2png
|
|
|
|
|
2004-07-15 18:45:52 +02:00
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/tiff2png
|
|
|
|
|
|
|
|
CFLAGS+= -DINVERT_MINISWHITE -DFAXPECT -DDEFAULT_DESTDIR_IS_CURDIR \
|
|
|
|
-I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -lpng -lz -ltiff -ljpeg -lm
|
|
|
|
|
2000-07-04 09:00:08 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tiff2png ${PREFIX}/bin
|
2000-11-26 16:35:38 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-12-24 03:17:17 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2000-11-26 16:35:38 +01:00
|
|
|
.endif
|
2000-07-04 09:00:08 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|