1997-11-20 14:07:26 +01:00
|
|
|
# New ports collection makefile for: xv
|
|
|
|
# Version required: 3.10a
|
|
|
|
# Date created: 30 October 1994
|
|
|
|
# Whom: smace
|
|
|
|
#
|
1998-02-05 15:22:41 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 1998/02/05 14:22:41 frueauf Exp $
|
1997-11-20 14:07:26 +01:00
|
|
|
# FreeBSD Id: Makefile,v 1.14 1997/07/03 07:37:08 asami 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/
|
1997-12-01 01:04:15 +01:00
|
|
|
PATCHFILES= xv-3.10a.JPEG-patch xv-3.10a.TIFF-patch # (for tiff3.4)
|
1997-11-20 14:07:26 +01:00
|
|
|
|
1998-01-24 06:32:04 +01:00
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
|
1998-01-30 14:56:55 +01:00
|
|
|
LIB_DEPENDS= jpeg.7.:${PORTSDIR}/graphics/jpeg \
|
|
|
|
tiff.3.4:${PORTSDIR}/graphics/tiff
|
1997-11-20 14:07:26 +01:00
|
|
|
|
|
|
|
USE_IMAKE= yes
|
|
|
|
|
1997-11-20 14:21:02 +01:00
|
|
|
CAT1= bggen.0 vdcomp.0 xcmap.0 xv.0 xvpictoppm.0
|
|
|
|
|
1997-11-20 14:07:26 +01:00
|
|
|
pre-patch:
|
|
|
|
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/Patch.magpic2.PhotoCD.XV310a
|
|
|
|
|
1997-11-20 14:21:02 +01:00
|
|
|
pre-configure:
|
1998-02-05 15:22:41 +01:00
|
|
|
for f in `find ${WRKDIR} -name Imakefile -follow -print`; do \
|
1998-01-24 06:32:04 +01:00
|
|
|
${SED} -e 's:/usr/local:'${LOCALBASE}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
|
1997-11-20 14:21:02 +01:00
|
|
|
done
|
|
|
|
|
1997-11-20 14:07:26 +01:00
|
|
|
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>
|