openbsd-ports/graphics/xv/Makefile

62 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.14 2000/04/02 19:50:17 rohee Exp $
# Original from: Marco S Hyman <marc@OpenBSD.ORG>
1998-03-21 00:38:13 -05:00
DISTNAME= xv-3.10a
2000-02-01 14:20:23 -05:00
DIST_SUBDIR= xv
1998-03-21 00:38:13 -05:00
CATEGORIES= graphics x11
NEED_VERSION= 1.230
1998-04-14 01:45:40 -04:00
NO_CDROM= "NOFEE: can not sell"
2000-03-06 12:04:30 -05:00
PERMIT_DISTFILES_FTP=Yes
PERMIT_PACKAGE_FTP=Yes
PERMIT_DISTFILES_CDROM=Must buy license
PERMIT_PACKAGE_CDROM=Must buy license
1998-03-21 00:38:13 -05:00
MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
# Add support for png
#
1999-09-26 17:43:44 -04:00
MASTER_SITES0= ftp://swrinde.nde.swri.edu/pub/png/applications/
DISTFILES+= xv-3.10a-png-1.2d.tar.gz:0
1998-03-21 00:38:13 -05:00
# 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 \
2000-02-01 14:20:23 -05:00
grabpatch:1 mp-tiff-patch:1 pdf.patch:1 vispatch:1 \
xvpng-fix2.patch:1
MAINTAINER= rohee@OpenBSD.ORG
1998-03-21 00:38:13 -05:00
HOMEPAGE= http://www.trilon.com/xv/index.html
1998-03-21 00:38:13 -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-02-01 14:20:23 -05:00
USE_IMAKE= Yes
2000-03-06 12:04:30 -05:00
FAKE=Yes
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
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv
.endif
.include <bsd.port.mk>