1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/graphics/xv/Makefile
Satoshi Asami c9c9ee7b8d 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)
1997-07-03 07:37:12 +00:00

36 lines
1005 B
Makefile

# New ports collection makefile for: xv
# Version required: 3.10a
# Date created: 30 October 1994
# Whom: smace
#
# $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/ \
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 \
tiff\\.3\\.3:${PORTSDIR}/graphics/tiff
USE_IMAKE= yes
pre-patch:
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/Patch.magpic2.PhotoCD.XV310a
post-install:
${MKDIR} ${PREFIX}/share/doc/xv
${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>