1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/graphics/ida/Makefile
Dirk Meyer 10bad669ae - fix build for png-1.4.1
- add USE_ICONV to make build with option WITHOUT_NLS=yes
2010-03-29 13:21:41 +00:00

52 lines
1.2 KiB
Makefile

# New ports collection makefile for: ida
# Date created: Thu Aug 19 21:13:58 UTC 2004
# Whom: Andrey Slusar <anray@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ida
PORTVERSION= 2.07
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://dl.bytesex.org/releases/fbida/
DISTNAME= fbida-${PORTVERSION}
MAINTAINER= anray@FreeBSD.org
COMMENT= Small and fast motif-based image viewer and editor
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
png.6:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
ungif.5:${PORTSDIR}/graphics/libungif \
exif.12:${PORTSDIR}/graphics/libexif
USE_GMAKE= yes
USE_MOTIF= yes
USE_PERL5_BUILD=yes
USE_ICONV= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
MAKEFILE= ${WRKSRC}/GNUmakefile
LDLIBS= -liconv
MAKE_ENV+= LDLIBS="${LDLIBS}"
MAN1= exiftran.1 ida.1
PORTDOCS= README TODO INSTALL
PLIST_FILES= bin/exiftran bin/ida lib/X11/app-defaults/Ida
post-patch:
${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
${WRKSRC}/rd/read-png.c
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/exiftran ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for a in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>