diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-08-07 16:07:03 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-08-07 16:07:03 +0000 |
commit | b49269bfebc14c699aad8a68bf304d296f3e66b0 (patch) | |
tree | 27c29e484c219362239d0f5faa36e25a01853fd8 /graphics/white_dune/Makefile | |
parent | 2fdc2d0176e5347fa54355b5b09d1411ac49f172 (diff) |
- Update to 0.28pl12
- Add mirrors
- Clean up
Notes
Notes:
svn path=/head/; revision=197293
Diffstat (limited to 'graphics/white_dune/Makefile')
-rw-r--r-- | graphics/white_dune/Makefile | 43 |
1 files changed, 12 insertions, 31 deletions
diff --git a/graphics/white_dune/Makefile b/graphics/white_dune/Makefile index 418e3dfcccd4..06d1bbdc3717 100644 --- a/graphics/white_dune/Makefile +++ b/graphics/white_dune/Makefile @@ -7,25 +7,22 @@ # PORTNAME= white_dune -PORTVERSION= 0.28.11 -PORTREVISION= 3 +PORTVERSION= ${DISTVERSION:S/pl/./} +DISTVERSION= 0.28pl12 PORTEPOCH= 1 CATEGORIES= graphics -MASTER_SITES= http://vrml.cip.ica.uni-stuttgart.de/dune/ -DISTNAME= ${PORTNAME}-${PORTVERSION:R}pl${PORTVERSION:E} +MASTER_SITES= http://vrml.cip.ica.uni-stuttgart.de/dune/ CENKES MAINTAINER= ports@FreeBSD.org COMMENT= Graphical VRML97 Editor and animation tool LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ - glut.4:${PORTSDIR}/graphics/libglut \ png.5:${PORTSDIR}/graphics/png USE_MOTIF= yes -USE_GL= yes +USE_GL= gl glu glut USE_SDL= sdl GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ YACC="/usr/bin/byacc" CONFIGURE_ARGS= --with-optimization \ @@ -34,32 +31,16 @@ CONFIGURE_ARGS= --with-optimization \ --with-vrml97am1url="${DOCSDIR}/vrml97Amendment1" \ --with-x3ddrafturl="${DOCSDIR}/x3dDraft" \ --with-scriptednodesurl="${DOCSDIR}/scriptedNodes" -ALL_TARGET= # empty - MAN1= dune.1 illegal2vrml.1 - -CPPFLAGS= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` \ - -DUSBHID_UCR_DATA -LDFLAGS= -L${LOCALBASE}/lib `${SDL_CONFIG} --libs` - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500111 -CPPFLAGS+= -DUSBHID_NEW -.endif +CPPFLAGS= `${SDL_CONFIG} --cflags` -DUSBHID_UCR_DATA -DUSBHID_NEW +LDFLAGS= `${SDL_CONFIG} --libs` do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/dune ${PREFIX}/bin -.for file in dune4kids illegal2vrml - ${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${PREFIX}/bin -.endfor -.for file in dune.1 illegal2vrml.1 - ${INSTALL_MAN} ${WRKSRC}/man/${file} ${MANPREFIX}/man/man1 -.endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/docs && ${FIND} . | \ - ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/dune ${PREFIX}/bin/ + @cd ${WRKSRC}/bin/&&${INSTALL_SCRIPT} dune4kids illegal2vrml ${PREFIX}/bin/ + @cd ${WRKSRC}/man/&&${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1/ +.ifndef NOPORTDOCS + @cd ${WRKSRC}/docs/&&${COPYTREE_SHARE} . ${DOCSDIR}/ .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |