freebsd-ports/graphics/xv/Makefile
Andreas Klemm cafa684b25 Added pre-clean target.
When doing 'make clean' then clean tiff and jpeg as well.
Reviewed by:
Submitted by:
Obtained from:
1996-09-22 08:56:34 +00:00

30 lines
689 B
Makefile

# New ports collection makefile for: xv
# Version required: 3.10a
# Date created: 30 October 1994
# Whom: smace
#
# $Id: Makefile,v 1.11 1996/03/06 12:53:01 asami Exp $
#
DISTNAME= xv-3.10a
CATEGORIES+= graphics x11
MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/
LIB_DEPENDS= jpeg\\.6\\.:${PORTSDIR}/graphics/jpeg \
tiff\\.3\\.:${PORTSDIR}/graphics/tiff
USE_IMAKE= yes
post-install:
mkdir -p ${PREFIX}/share/doc/xv
cp ${WRKSRC}/README ${PREFIX}/share/doc/xv
.if !defined(NOPORTDOCS)
cp ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv
.endif
pre-clean:
@(cd ${PORTSDIR}/graphics/jpeg ; ${MAKE} clean)
@(cd ${PORTSDIR}/graphics/tiff ; ${MAKE} clean)
.include <bsd.port.mk>