1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/graphics/EZWGL/Makefile
Martin Wilke 3e4ed01146 - 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 17:56:05 +00:00

59 lines
1.7 KiB
Makefile

# New ports collection makefile for: EZWGL
# Date created: 4 May 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= EZWGL
PORTVERSION= 1.50
PORTREVISION= 3
CATEGORIES= graphics devel
MASTER_SITES= ftp://ftp.ma.utexas.edu/pub/mzou/
DISTFILES= ${DISTNAME}-demo.tgz ${DISTNAME}-doc.tgz ${DISTNAME}-src.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= The EZ Widget and Graphics Library
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
png.5:${PORTSDIR}/graphics/png
USE_XORG= x11 xext
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
.if ${ARCH} == "sparc64"
BROKEN= "Does not compile on sparc64"
.endif
post-extract:
${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
post-install:
.for file in ${MAN3}
${INSTALL_MAN} ${WRKSRC}/doc/man3/${file} ${PREFIX}/man/man3
.endfor
@${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}
.if !defined(NOPORTDOCS)
@${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}
.endif
.include <bsd.port.post.mk>