diff options
author | steve <steve@FreeBSD.org> | 1999-01-02 19:51:39 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-01-02 19:51:39 +0000 |
commit | 0e63b3931ffc6d1a1dccf7a6d812be9fcf26a333 (patch) | |
tree | 22a29cd7d4fd9675f7c3ec2382e215ce09eb755f /graphics/EZWGL/Makefile | |
parent | 97c888a51634795565130e52dd372a8f1ab92623 (diff) | |
download | FreeBSD-ports-0e63b3931ffc6d1a1dccf7a6d812be9fcf26a333.zip FreeBSD-ports-0e63b3931ffc6d1a1dccf7a6d812be9fcf26a333.tar.gz |
Update to version 1.40.
PR: 9216
Submitted by: maintainer
Diffstat (limited to 'graphics/EZWGL/Makefile')
-rw-r--r-- | graphics/EZWGL/Makefile | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/graphics/EZWGL/Makefile b/graphics/EZWGL/Makefile index 2319b65..7349d14 100644 --- a/graphics/EZWGL/Makefile +++ b/graphics/EZWGL/Makefile @@ -1,15 +1,15 @@ # New ports collection makefile for: EZWGL -# Version required: 1.39 +# Version required: 1.40 # Date created: 4 May 1998 # Whom: Andrey Zakhvatov # -# $Id: Makefile,v 1.12 1998/11/11 05:37:17 asami Exp $ +# $Id: Makefile,v 1.13 1998/11/21 07:27:35 steve Exp $ # -DISTNAME= EZWGL-1.39 +DISTNAME= EZWGL-1.40 CATEGORIES= graphics devel MASTER_SITES= ftp://ftp.ma.utexas.edu/pub/mzou/ -DISTFILES= ${DISTNAME}-src.tgz ${DISTNAME}-doc.tgz +DISTFILES= ${DISTNAME}-demo.tgz ${DISTNAME}-doc.tgz ${DISTNAME}-src.tgz MAINTAINER= andy@icc.surw.chel.su @@ -26,12 +26,16 @@ WRKSRC= ${WRKDIR}/${PKGNAME} .if ${PORTOBJFORMAT} == "elf" VERSION= 1 .else -VERSION= 1.3 +VERSION= 1.4 .endif pre-install: + -@ ${RM} ${WRKSRC}/demos/Makefile.orig + -@ ${RM} ${WRKSRC}/demos/DnD/Makefile.orig + -@ ${RM} ${WRKSRC}/demos/GL/Makefile.orig + -@ ${RM} ${WRKSRC}/demos/Message/Makefile.orig + -@ ${MV} ${WRKSRC}/doc/man3/EZ_RegisterCompositeWidget,3 ${WRKSRC}/doc/man3/EZ_RegisterCompositeWidget.3 -@ ${RM} ${WRKSRC}/examples/Makefile.orig - -@ ${RM} ${WRKSRC}/examples/ExampleMsg do-install: @ ${INSTALL_DATA} ${WRKSRC}/include/EZ.h ${PREFIX}/include @@ -39,22 +43,21 @@ do-install: @ ${INSTALL_DATA} ${WRKSRC}/lib/libEZ.so.${VERSION} ${PREFIX}/lib @ ${LN} -sf libEZ.so.${VERSION} ${PREFIX}/lib/libEZ.so .for file in ${MAN3} - @ ${INSTALL_MAN} ${WRKSRC}/man3/${file} ${PREFIX}/man/man3 + @ ${INSTALL_MAN} ${WRKSRC}/doc/man3/${file} ${PREFIX}/man/man3 .endfor - @ ${MKDIR} ${PREFIX}/share/examples/EZ/pixmaps - @ ${INSTALL_DATA} \ - `find ${WRKSRC}/examples \! -type d | grep -v pixmaps` \ - ${PREFIX}/share/examples/EZ - @ ${INSTALL_DATA} ${WRKSRC}/examples/pixmaps/* \ - ${PREFIX}/share/examples/EZ/pixmaps + @ ${MKDIR} ${PREFIX}/share/examples/EZ + @ cd ${WRKSRC}/examples; tar cf - * | \ + (cd ${PREFIX}/share/examples/EZ; tar --unlink -xf - ) + @ ${MKDIR} ${PREFIX}/share/examples/EZ/demos + @ cd ${WRKSRC}/demos; tar cf - * | \ + (cd ${PREFIX}/share/examples/EZ/demos; tar --unlink -xf - ) + +post-install: .if !defined(NOPORTDOCS) @ ${MKDIR} ${PREFIX}/share/doc/EZ - @ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/EZ - @ cd ${WRKSRC}; tar cf - html ps | \ + @ cd ${WRKSRC}/doc; tar cf - html ps | \ (cd ${PREFIX}/share/doc/EZ; tar --unlink -xf - ) .endif - -post-install: ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include <bsd.port.post.mk> |