diff options
author | Matthew Hunt <mph@FreeBSD.org> | 1998-08-27 18:27:45 +0000 |
---|---|---|
committer | Matthew Hunt <mph@FreeBSD.org> | 1998-08-27 18:27:45 +0000 |
commit | a9004e4e654e08bb0780f91d03a8396cc9034917 (patch) | |
tree | 40d7a61f817a8be13f503e3a392bb7daa42de637 /graphics/xv/Makefile | |
parent | 58337fe7a8e4c9a29a74368879bc9865d13b76bd (diff) | |
download | ports-a9004e4e654e08bb0780f91d03a8396cc9034917.tar.gz ports-a9004e4e654e08bb0780f91d03a8396cc9034917.zip |
Notes
Diffstat (limited to 'graphics/xv/Makefile')
-rw-r--r-- | graphics/xv/Makefile | 42 |
1 files changed, 35 insertions, 7 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile index a037caa1824b..5eb6480fa4e5 100644 --- a/graphics/xv/Makefile +++ b/graphics/xv/Makefile @@ -3,21 +3,26 @@ # Date created: 30 October 1994 # Whom: smace # -# $Id: Makefile,v 1.18 1998/04/23 21:06:28 vanilla Exp $ +# $Id: Makefile,v 1.19 1998/05/04 20:23:32 jseger Exp $ # DISTNAME= xv-3.10a CATEGORIES= graphics x11 MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/ \ - ftp://ftp.kuis.kyoto-u.ac.jp/X11/contrib/clients/xv/ \ - ftp://ftp.tohoku.ac.jp/pub/X/app/xv/ + ftp://ftp.airlab.cs.ritsumei.ac.jp/pub/X/xv-jp-extension/working/ \ + http://www.freebsd.org/~mph/distfiles/xv/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - xv310a-magpic2-PhotoCD-patch.tar.gz # only from Japan + xv310a-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 png-1.2d.patch +DIST_SUBDIR= xv +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} \ + xv310a-jp-extension-rev5.3.3.tar.gz PATCH_SITES= ftp://ftp.cis.upenn.edu/pub/xv/ PATCHFILES= xv-3.10a.JPEG-patch xv-3.10a.TIFF-patch -MAINTAINER= ports@FreeBSD.ORG +MAINTAINER= shige@kuis.kyoto-u.ac.jp LIB_DEPENDS= jpeg\\.9\\.:${PORTSDIR}/graphics/jpeg \ tiff34\\.1:${PORTSDIR}/graphics/tiff34 \ @@ -25,14 +30,37 @@ LIB_DEPENDS= jpeg\\.9\\.:${PORTSDIR}/graphics/jpeg \ USE_IMAKE= yes +XVDIST= ${DISTDIR}/${DIST_SUBDIR} + pre-patch: - @${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/Patch.magpic2.PhotoCD.XV310a + @${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}/png-1.2d.patch + @${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/png-1.2d-fix.patch + @${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/jp-ext-bzip2.patch post-install: +.if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/xv ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xv -.if !defined(NOPORTDOCS) + ${INSTALL_DATA} ${WRKSRC}/README.PNG ${PREFIX}/share/doc/xv + ${INSTALL_DATA} ${WRKSRC}/docs/epsf.ps ${PREFIX}/share/doc/xv + ${INSTALL_DATA} ${WRKSRC}/docs/xpm.ps ${PREFIX}/share/doc/xv ${INSTALL_DATA} ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv + ${INSTALL_DATA} ${WRKSRC}/docs/xvtitle.ps ${PREFIX}/share/doc/xv + ${INSTALL_DATA} ${WRKSRC}/docs/help ${PREFIX}/share/doc/xv + ${INSTALL_DATA} ${WRKSRC}/docs/bmp.doc ${PREFIX}/share/doc/xv + ${INSTALL_DATA} ${WRKSRC}/docs/gif* ${PREFIX}/share/doc/xv + ${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/CHANGELOG.* ${PREFIX}/share/doc/xv + ${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/README.PhotoCD ${PREFIX}/share/doc/xv + ${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/README.xv310a-ext-5.3.3 ${PREFIX}/share/doc/xv/README.xv310a-ext-5.3.3.ja + ${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/magic.add ${PREFIX}/share/doc/xv .endif .include <bsd.port.mk> |