1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/graphics/xv/Makefile

70 lines
2.6 KiB
Makefile
Raw Normal View History

1994-10-31 04:36:07 +00:00
# New ports collection makefile for: xv
1995-02-07 07:40:21 +00:00
# Version required: 3.10a
1994-10-31 04:36:07 +00:00
# Date created: 30 October 1994
# Whom: smace
#
# $Id: Makefile,v 1.30 1998/11/25 05:06:28 jseger Exp $
1994-10-31 04:36:07 +00:00
#
1995-02-07 07:40:21 +00:00
DISTNAME= xv-3.10a
CATEGORIES?= graphics
MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/ \
ftp://ftp.airlab.cs.ritsumei.ac.jp/pub/X/xv-jp-extension/working/ \
http://www.yuasa.kuis.kyoto-u.ac.jp/~shige/FreeBSD/ports/xv/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
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 xv-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/
1997-12-01 08:08:03 +00:00
PATCHFILES= xv-3.10a.JPEG-patch xv-3.10a.TIFF-patch
MAINTAINER?= shige@kuis.kyoto-u.ac.jp
1998-09-14 20:16:03 +00:00
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff34 \
1998-09-17 00:50:52 +00:00
png.2:${PORTSDIR}/graphics/png
1994-10-31 04:36:07 +00:00
USE_IMAKE= yes
.if !defined(NOMAN)
MAN1= bggen.1 vdcomp.1 xcmap.1 xv.1 xvpictoppm.1
.endif
XVDIST= ${DISTDIR}/${DIST_SUBDIR}
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
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/xv
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xv
@${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
1995-05-13 23:57:44 +00:00
1994-10-31 04:36:07 +00:00
.include <bsd.port.mk>