blob: 56913aec679b9d480a5480fe3f45b29b8d023f88 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: tiff2png
# Date created: Tue 04 Jul 2000
# Whom: will
#
# $FreeBSD$
#
PORTNAME= tiff2png
PORTVERSION= 0.91
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= SF/png-mng/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts TIFF images to PNG format
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.11:${PORTSDIR}/graphics/jpeg \
png.6:${PORTSDIR}/graphics/png
MAKEFILE= Makefile.unx
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
ALL_TARGET= tiff2png
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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tiff2png ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|