2001-05-06 01:05:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2001/05/06 05:05:53 lebel Exp $
|
1999-11-09 16:49:00 -05:00
|
|
|
# Original from: Marco S Hyman <marc@OpenBSD.ORG>
|
1998-03-21 00:38:13 -05:00
|
|
|
|
2001-05-06 01:05:43 -04:00
|
|
|
COMMENT= "X11 image display and modification tool"
|
|
|
|
|
1998-03-21 00:38:13 -05:00
|
|
|
DISTNAME= xv-3.10a
|
2000-06-20 22:29:05 -04:00
|
|
|
CATEGORIES= graphics x11
|
2001-05-06 01:05:43 -04:00
|
|
|
NEED_VERSION= 1.402
|
1998-03-21 00:38:13 -05:00
|
|
|
MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/
|
1999-09-26 17:43:44 -04:00
|
|
|
MASTER_SITES0= ftp://swrinde.nde.swri.edu/pub/png/applications/
|
2000-06-20 22:29:05 -04:00
|
|
|
MASTER_SITES1= http://ftp.trilon.com/pub/xv/patches/
|
|
|
|
DISTFILES= ${DISTNAME}.tar.gz xv-3.10a-png-1.2d.tar.gz:0
|
|
|
|
DIST_SUBDIR= xv
|
1998-03-21 00:38:13 -05:00
|
|
|
|
|
|
|
# Various patches from the XV author's site
|
|
|
|
#
|
1999-04-22 15:05:08 -04:00
|
|
|
# (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
|
2000-08-04 20:34:49 -04:00
|
|
|
PATCHFILES= xv-3.10a.JPEG-patch xv-3.10a.TIFF-patch bmp32.patch:1 \
|
|
|
|
deepcolor.patch:1 exceed_grab.patch:1 gifpatch:1 grabpatch:1 \
|
|
|
|
gssafer.patch:1 mp-tiff-patch:1 pdf.patch:1 tiff1200.patch:1 \
|
|
|
|
vispatch:1 xvpng-fix2.patch:1
|
1998-03-21 00:38:13 -05:00
|
|
|
|
1999-11-09 16:49:00 -05:00
|
|
|
HOMEPAGE= http://www.trilon.com/xv/index.html
|
1998-03-21 00:38:13 -05:00
|
|
|
|
2000-03-24 18:28:01 -05:00
|
|
|
LIB_DEPENDS= jpeg.62.::graphics/jpeg \
|
|
|
|
tiff.35.::graphics/tiff \
|
|
|
|
png.1.::graphics/png
|
1998-03-21 00:38:13 -05:00
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Bruno Rohee <rohee@openbsd.org>
|
2000-06-20 22:29:05 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= "Must buy license"
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= "Must buy license"
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= imake
|
1998-03-21 00:38:13 -05:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/xcmap.diff
|
|
|
|
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/xvpng.diff
|
2000-02-01 14:20:23 -05:00
|
|
|
@mv ${WRKDIR}/xvpng.c ${WRKSRC}
|
|
|
|
@mv ${WRKDIR}/bits/br_png ${WRKSRC}/bits
|
1998-03-21 00:38:13 -05:00
|
|
|
|
|
|
|
post-install:
|
2000-02-01 14:20:23 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xv
|
1998-03-21 00:38:13 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xv
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|