1998-05-19 08:50:10 +00:00
|
|
|
# New ports collection makefile for: EZWGL
|
|
|
|
# Date created: 4 May 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1998-05-19 08:50:10 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 06:28:28 +00:00
|
|
|
PORTNAME= EZWGL
|
2000-04-19 19:58:05 +00:00
|
|
|
PORTVERSION= 1.50
|
1998-11-21 07:27:41 +00:00
|
|
|
CATEGORIES= graphics devel
|
1998-05-19 08:50:10 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ma.utexas.edu/pub/mzou/
|
2000-04-19 19:58:05 +00:00
|
|
|
DISTFILES= ${DISTNAME}-demo.tgz ${DISTNAME}-doc.tgz ${DISTNAME}-src.tgz
|
1998-05-19 08:50:10 +00:00
|
|
|
|
2000-03-29 07:19:16 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-05-19 08:50:10 +00:00
|
|
|
|
2000-04-19 19:58:05 +00:00
|
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
|
|
|
png.3:${PORTSDIR}/graphics/png
|
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-04-19 19:58:05 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-05-19 08:50:10 +00:00
|
|
|
|
2000-06-09 22:27:25 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-06-09 22:23:35 +00:00
|
|
|
.include "${FILESDIR}/manpages"
|
1998-09-19 01:27:52 +00:00
|
|
|
|
2000-06-04 21:45:34 +00:00
|
|
|
post-extract:
|
|
|
|
find ${WRKSRC} -name CVS | xargs ${RM} -rf
|
|
|
|
|
2000-04-19 19:58:05 +00:00
|
|
|
post-install:
|
1998-05-19 08:50:10 +00:00
|
|
|
.for file in ${MAN3}
|
2000-04-19 19:58:05 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man3/${file} ${PREFIX}/man/man3
|
1998-05-19 08:50:10 +00:00
|
|
|
.endfor
|
2000-04-19 19:58:05 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/EZ
|
|
|
|
${TAR} -C ${WRKSRC}/examples --exclude 'Makefile.in' -cf - . | \
|
|
|
|
${TAR} -C ${PREFIX}/share/examples/EZ --unlink -xf -
|
|
|
|
${TAR} -C ${WRKSRC} --exclude 'Makefile.in' -cf - demos | \
|
|
|
|
${TAR} -C ${PREFIX}/share/examples/EZ --unlink -xf -
|
|
|
|
find ${PREFIX}/share/examples/EZ | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
|
|
|
|
find ${PREFIX}/share/examples/EZ -type f | xargs ${CHMOD} ${SHAREMODE}
|
1998-05-19 08:50:10 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-04-19 19:58:05 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/EZ
|
|
|
|
${TAR} -C ${WRKSRC}/doc --exclude 'misc' -cf - html ps | \
|
|
|
|
${TAR} -C ${PREFIX}/share/doc/EZ --unlink -xf -
|
|
|
|
find ${PREFIX}/share/doc/EZ | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
|
|
|
|
find ${PREFIX}/share/doc/EZ -type f | xargs ${CHMOD} ${SHAREMODE}
|
1998-05-19 08:50:10 +00:00
|
|
|
.endif
|
1998-08-09 23:51:08 +00:00
|
|
|
|
2000-06-09 22:27:25 +00:00
|
|
|
.include <bsd.port.post.mk>
|