blob: 91e3fd5750b90d4eee0525f9ea5968dd58fd68af (
plain) (
blame)
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
59
60
|
# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= EZWGL
PORTVERSION= 1.50
PORTREVISION= 9
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= EZ Widget and Graphics Library
LIB_DEPENDS= libtiff.so:graphics/tiff \
libpng.so:graphics/png
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_sparc64= does not compile on sparc64
USES= localbase
USE_XORG= x11 xext
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
PORTDOCS= *
PORTEXAMPLES= *
NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken
OPTIONS_DEFINE= DOCS EXAMPLES
.include ".${CURDIR}/Makefile.manlinks"
post-extract:
@${FIND} ${WRKSRC} -name CVS -type d | ${XARGS} ${RM} -r
do-install:
${INSTALL_DATA} ${WRKSRC}/include/EZ.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/lib/libEZ.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/lib/libEZ.so.1 ${STAGEDIR}${PREFIX}/lib
(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s libEZ.so.1 libEZ.so)
${INSTALL_MAN} ${WRKSRC}/doc/man3/*.3 ${STAGEDIR}${MANPREFIX}/man/man3
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
${STAGEDIR}${EXAMPLESDIR} "! -name Makefile.in")
(cd ${WRKSRC} && ${COPYTREE_SHARE} demos \
${STAGEDIR}${EXAMPLESDIR} "! -name Makefile.in")
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ps
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR} "! -empty")
${INSTALL_DATA} ${WRKSRC}/doc/ps/*.ps ${STAGEDIR}${DOCSDIR}/ps
post-install: install-manlinks
.include <bsd.port.mk>
|