openbsd-ports/graphics/xv/Makefile
rohee e550cd0d95 Repair make fetch
Thanks to greg@nest.cx for noticing
2000-04-02 19:50:17 +00:00

62 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2000/04/02 19:50:17 rohee Exp $
# Original from: Marco S Hyman <marc@OpenBSD.ORG>
DISTNAME= xv-3.10a
DIST_SUBDIR= xv
CATEGORIES= graphics x11
NEED_VERSION= 1.230
NO_CDROM= "NOFEE: can not sell"
PERMIT_DISTFILES_FTP=Yes
PERMIT_PACKAGE_FTP=Yes
PERMIT_DISTFILES_CDROM=Must buy license
PERMIT_PACKAGE_CDROM=Must buy license
MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
# Add support for png
#
MASTER_SITES0= ftp://swrinde.nde.swri.edu/pub/png/applications/
DISTFILES+= xv-3.10a-png-1.2d.tar.gz:0
# Up-to-date jpeg/tiff libraries
#
PATCHFILES= xv-3.10a.JPEG-patch xv-3.10a.TIFF-patch
# Various patches from the XV author's site
#
# (xpm.patch is integrated in xvpng.diff that is in xv-3.10a-png-1.2d.tar.gz)
# longname.patch is integrated in patches/patch-aj
MASTER_SITES1= http://ftp.trilon.com/pub/xv/patches/
PATCHFILES+= deepcolor.patch:1 exceed_grab.patch:1 gifpatch:1 \
grabpatch:1 mp-tiff-patch:1 pdf.patch:1 vispatch:1 \
xvpng-fix2.patch:1
MAINTAINER= rohee@OpenBSD.ORG
HOMEPAGE= http://www.trilon.com/xv/index.html
LIB_DEPENDS= jpeg.62.::graphics/jpeg \
tiff.35.::graphics/tiff \
png.1.::graphics/png
USE_IMAKE= Yes
FAKE=Yes
pre-patch:
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/xcmap.diff
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/xvpng.diff
@mv ${WRKDIR}/xvpng.c ${WRKSRC}
@mv ${WRKDIR}/bits/br_png ${WRKSRC}/bits
post-install:
${INSTALL_DATA_DIR} ${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>