blob: 629e120facdf1b6a049ce993908db9f1e0ca5c36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# New ports collection makefile for: EZWGL
# Date created: 4 May 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= EZWGL
PORTVERSION= 1.50
PORTREVISION= 7
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 \
png15:${PORTSDIR}/graphics/png
USE_XORG= x11 xext
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
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>
|