diff --git a/graphics/EZWGL/Makefile b/graphics/EZWGL/Makefile index 07d143a625f7..91e3fd5750b9 100644 --- a/graphics/EZWGL/Makefile +++ b/graphics/EZWGL/Makefile @@ -14,37 +14,44 @@ 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 -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib + PORTDOCS= * PORTEXAMPLES= * NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken -BROKEN_sparc64= Does not compile on sparc64 - OPTIONS_DEFINE= DOCS EXAMPLES .include ".${CURDIR}/Makefile.manlinks" -.include post-extract: @${FIND} ${WRKSRC} -name CVS -type d | ${XARGS} ${RM} -r do-install: - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}/ps ${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