summaryrefslogtreecommitdiff
path: root/graphics/xv/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-02-20 15:29:47 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-02-20 15:29:47 +0000
commitf3fd12b4595ef001e8e6359a40b0a477bb86ef67 (patch)
tree13b4a7d869cef951dc339988c2f9b062d80cc5b2 /graphics/xv/Makefile
parentAdd two missed static libraries. (diff)
Add the software's web-site to the distinfo, which did not have
the WWW entry before. Add several more patches available on the said web-site. In particular, use the later png-related patch (-fix3 vs. -fix2). Move some of the patches from DISTFILES to PATCHFILES -- for some others it matters, because of the order they have to be applied and different -p settings necessary. Unfortunately, the maintainer could not be reached, hence: NOT Approved by: shige
Notes
Notes: svn path=/head/; revision=38515
Diffstat (limited to 'graphics/xv/Makefile')
-rw-r--r--graphics/xv/Makefile28
1 files changed, 16 insertions, 12 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile
index 04995b9f2d07..4ba7d2638eda 100644
--- a/graphics/xv/Makefile
+++ b/graphics/xv/Makefile
@@ -9,19 +9,26 @@ PORTNAME= xv
PORTVERSION= 3.10a
CATEGORIES+= graphics
MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/ \
+ ftp://ftp.trilon.com/pub/xv/ \
+ ftp://ftp.trilon.com/pub/xv/patches/ \
ftp://ftp.airlab.cs.ritsumei.ac.jp/pub/X/xv-jp-extension/working/ \
${MASTER_SITE_LOCAL} \
http://www.yuasa.kuis.kyoto-u.ac.jp/~shige/FreeBSD/ports/xv/
MASTER_SITE_SUBDIR= ports/xv
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}${PORTVERSION:S/.//}-jp-extension-rev5.3.3.tar.gz \
- croppad.patch grabpatch jp-ext-bzip2.patch longname.patch \
- mp-tiff-patch pdf.patch png-1.2d-fix.patch xv-png-1.2d.patch
+ jp-ext-bzip2.patch longname.patch pdf.patch \
+ xv-png-1.2d.patch xvpng-1.2d-fix3.patch
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTFILES:N*patch}
-PATCH_SITES= ftp://ftp.cis.upenn.edu/pub/xv/
-PATCHFILES= ${DISTNAME}.JPEG-patch ${DISTNAME}.TIFF-patch
+PATCH_SITES= ftp://ftp.cis.upenn.edu/pub/xv/ \
+ ftp://ftp.trilon.com/pub/xv/patches/
+# Note: xpm.patch appears to already be in xvdir.c
+PATCHFILES= ${DISTNAME}.JPEG-patch ${DISTNAME}.TIFF-patch \
+ croppad.patch grabpatch vispatch mp-tiff-patch \
+ deepcolor.patch gifpatch exceed_grab.patch \
+ tiff1200.patch gssafer.patch
MAINTAINER?= shige@FreeBSD.org
@@ -40,14 +47,11 @@ pre-patch:
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/xv-jp-extension/Patch.xv310a-ext-5.3.3
post-patch:
- @${PATCH} ${PATCH_ARGS} -p0 < ${XVDIST}/croppad.patch
- @${PATCH} ${PATCH_ARGS} -p0 < ${XVDIST}/grabpatch
- @${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/longname.patch
- @${PATCH} ${PATCH_ARGS} -p0 < ${XVDIST}/mp-tiff-patch
- @${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/pdf.patch
- @${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/xv-png-1.2d.patch
- @${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/png-1.2d-fix.patch
- @${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/jp-ext-bzip2.patch
+ ${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/longname.patch
+ ${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/pdf.patch
+ ${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/xv-png-1.2d.patch
+ ${PATCH} ${PATCH_ARGS} -p0 < ${XVDIST}/xvpng-1.2d-fix3.patch
+ ${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/jp-ext-bzip2.patch
@${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.in
@${CAT} ${WRKSRC}/config.h.in | \
${SED} -e "s@%%LOCALBASE%%@${LOCALBASE}@" > ${WRKSRC}/config.h