2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Andrey Zakhvatov
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1998-05-19 10:50:10 +02:00
|
|
|
|
2000-04-13 08:28:28 +02:00
|
|
|
PORTNAME= EZWGL
|
2000-04-19 21:58:05 +02:00
|
|
|
PORTVERSION= 1.50
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 7
|
1998-11-21 08:27:41 +01:00
|
|
|
CATEGORIES= graphics devel
|
1998-05-19 10:50:10 +02:00
|
|
|
MASTER_SITES= ftp://ftp.ma.utexas.edu/pub/mzou/
|
2000-04-19 21:58:05 +02:00
|
|
|
DISTFILES= ${DISTNAME}-demo.tgz ${DISTNAME}-doc.tgz ${DISTNAME}-src.tgz
|
1998-05-19 10:50:10 +02:00
|
|
|
|
2000-03-29 09:19:16 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= The EZ Widget and Graphics Library
|
1998-05-19 10:50:10 +02:00
|
|
|
|
2000-04-19 21:58:05 +02:00
|
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
2012-06-01 07:26:28 +02:00
|
|
|
png15:${PORTSDIR}/graphics/png
|
2000-04-19 21:58:05 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xext
|
2006-08-15 01:06:39 +02:00
|
|
|
USE_LDCONFIG= yes
|
2000-04-19 21:58:05 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
2012-06-01 07:26:28 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
|
2003-08-30 09:27:28 +02:00
|
|
|
NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken
|
1998-05-19 10:50:10 +02:00
|
|
|
|
2013-09-20 20:35:44 +02:00
|
|
|
NO_STAGE= yes
|
2000-06-10 00:27:25 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-06-10 00:23:35 +02:00
|
|
|
.include "${FILESDIR}/manpages"
|
1998-09-19 03:27:52 +02:00
|
|
|
|
2004-04-12 05:58:14 +02:00
|
|
|
.if ${ARCH} == "sparc64"
|
2010-06-13 10:40:06 +02:00
|
|
|
BROKEN= Does not compile on sparc64
|
2004-04-12 05:58:14 +02:00
|
|
|
.endif
|
|
|
|
|
2000-06-04 23:45:34 +02:00
|
|
|
post-extract:
|
2002-09-29 10:07:47 +02:00
|
|
|
${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
|
2000-06-04 23:45:34 +02:00
|
|
|
|
2000-04-19 21:58:05 +02:00
|
|
|
post-install:
|
1998-05-19 10:50:10 +02:00
|
|
|
.for file in ${MAN3}
|
2000-04-19 21:58:05 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man3/${file} ${PREFIX}/man/man3
|
1998-05-19 10:50:10 +02:00
|
|
|
.endfor
|
2000-04-19 21:58:05 +02: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 -
|
2002-09-29 10:07:47 +02:00
|
|
|
${FIND} ${PREFIX}/share/examples/EZ | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
|
|
|
|
${FIND} ${PREFIX}/share/examples/EZ -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
|
1998-05-19 10:50:10 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-04-19 21:58:05 +02:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/EZ
|
|
|
|
${TAR} -C ${WRKSRC}/doc --exclude 'misc' -cf - html ps | \
|
|
|
|
${TAR} -C ${PREFIX}/share/doc/EZ --unlink -xf -
|
2002-09-29 10:07:47 +02:00
|
|
|
${FIND} ${PREFIX}/share/doc/EZ | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
|
|
|
|
${FIND} ${PREFIX}/share/doc/EZ -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
|
1998-05-19 10:50:10 +02:00
|
|
|
.endif
|
1998-08-10 01:51:08 +02:00
|
|
|
|
2000-06-10 00:27:25 +02:00
|
|
|
.include <bsd.port.post.mk>
|