83509d9a0f
version was left at 1.0. Oops. The old tiff (3.3) installed as libtiff.so.3.3. Install tiff34 as libtiff.so.3.4 but keep the libtiff34 link at version 1.0. confusing but it seems to work correctly. Update all ports that depend upon tiff so the dependency is on tiff.3.4.
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
# OpenBSD makefile for: xv
|
|
# Version required: 3.10a
|
|
# Date created: 1998-Mar-20
|
|
# Whom: marc@OpenBSD.ORG
|
|
#
|
|
# $OpenBSD: Makefile,v 1.4 1998/06/14 08:10:40 marc Exp $
|
|
#
|
|
|
|
DISTNAME= xv-3.10a
|
|
DIST_SUBDIR= ${DISTNAME}
|
|
CATEGORIES= graphics x11
|
|
NO_CDROM= "NOFEE: can not sell"
|
|
|
|
MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
# Add support for png
|
|
#
|
|
MASTER_SITES+= ftp://swrinde.nde.swri.edu/pub/png/applications/
|
|
DISTFILES+= xv-3.10a-png-1.2d.tar.gz
|
|
|
|
# Up-to-date jpeg/tiff libraries
|
|
#
|
|
PATCH_SITES= ftp://ftp.cis.upenn.edu/pub/xv/
|
|
PATCHFILES= xv-3.10a.JPEG-patch xv-3.10a.TIFF-patch
|
|
|
|
# Various patches from the XV author's site
|
|
#
|
|
PATCH_SITES+= ftp://ftp.trilon.com/pub/xv/patches/
|
|
PATCHFILES+= grabpatch vispatch mp-tiff-patch
|
|
|
|
MAINTAINER= ports@OpenBSD.ORG
|
|
|
|
LIB_DEPENDS= jpeg\\.62\\.:${PORTSDIR}/graphics/jpeg \
|
|
tiff\\.3\\.4:${PORTSDIR}/graphics/tiff34 \
|
|
png\\.1\\.:${PORTSDIR}/graphics/png
|
|
|
|
USE_IMAKE= yes
|
|
|
|
pre-patch:
|
|
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/xcmap.diff
|
|
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/xvpng.diff
|
|
@${CP} ${WRKDIR}/xvpng.c ${WRKSRC}
|
|
@${CP} ${WRKDIR}/bits/br_png ${WRKSRC}/bits
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/share/doc/xv
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xv
|
|
.if !defined(NOPORTDOCS)
|
|
${INSTALL_DATA} ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|