diff options
author | asami <asami@FreeBSD.org> | 1997-07-03 15:37:12 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-07-03 15:37:12 +0800 |
commit | 0a7f3901fb0c37cb8333731b8e855586d2623fb8 (patch) | |
tree | d5fe0d9caf5cc07db3e756ea542e2874909ac637 /graphics/xv/Makefile | |
parent | 62646eabe8716e86bebd387be14462d238520f89 (diff) | |
download | freebsd-ports-gnome-0a7f3901fb0c37cb8333731b8e855586d2623fb8.tar.gz freebsd-ports-gnome-0a7f3901fb0c37cb8333731b8e855586d2623fb8.tar.zst freebsd-ports-gnome-0a7f3901fb0c37cb8333731b8e855586d2623fb8.zip |
Add magpic and PhotoCD support. The gist of original patch-aa is
already in the distfile patch, and so is part of patch-ac. The new
patch-ac is a bug fix (wrong order of arguments -- how did it
work for anyone?!?).
While I'm here, replace "mkdir -p" with "${MKDIR}", etc.
Notified about patch by: ohashi@mickey.ai.kyutech.ac.jp (Takeshi Ohashi)
Diffstat (limited to 'graphics/xv/Makefile')
-rw-r--r-- | graphics/xv/Makefile | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile index b4de147a21c9..785c59b95d22 100644 --- a/graphics/xv/Makefile +++ b/graphics/xv/Makefile @@ -3,13 +3,18 @@ # Date created: 30 October 1994 # Whom: smace # -# $Id: Makefile,v 1.12 1996/09/22 08:56:34 andreas Exp $ +# $Id: Makefile,v 1.13 1996/11/18 00:29:59 ache Exp $ # DISTNAME= xv-3.10a CATEGORIES= graphics x11 -MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/ -PATCH_SITES= ${MASTER_SITES} +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/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + xv310a-magpic2-PhotoCD-patch.tar.gz # only from Japan + +PATCH_SITES= ftp://ftp.cis.upenn.edu/pub/xv/ PATCHFILES= xv-3.10a.JPEG-patch # xv-3.10a.TIFF-patch (for tiff3.4) LIB_DEPENDS= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg \ @@ -17,11 +22,14 @@ LIB_DEPENDS= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg \ USE_IMAKE= yes +pre-patch: + @${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/Patch.magpic2.PhotoCD.XV310a + post-install: - mkdir -p ${PREFIX}/share/doc/xv - cp ${WRKSRC}/README ${PREFIX}/share/doc/xv + ${MKDIR} ${PREFIX}/share/doc/xv + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xv .if !defined(NOPORTDOCS) - cp ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv + ${INSTALL_DATA} ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv .endif .include <bsd.port.mk> |