aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glui/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-02-10 03:39:54 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-02-10 03:39:54 +0800
commitda4c2341a8403b634160a116fc90b480248d913c (patch)
tree5fd5dd42bb00f3e3230a66754831fea6fb577968 /devel/glui/Makefile
parent2d90fc7673a41354bff55476c08dd65074057734 (diff)
downloadfreebsd-ports-gnome-da4c2341a8403b634160a116fc90b480248d913c.tar.gz
freebsd-ports-gnome-da4c2341a8403b634160a116fc90b480248d913c.tar.zst
freebsd-ports-gnome-da4c2341a8403b634160a116fc90b480248d913c.zip
- Update to 2.36
Diffstat (limited to 'devel/glui/Makefile')
-rw-r--r--devel/glui/Makefile26
1 files changed, 11 insertions, 15 deletions
diff --git a/devel/glui/Makefile b/devel/glui/Makefile
index 3c13a139646c..d041f078bf6b 100644
--- a/devel/glui/Makefile
+++ b/devel/glui/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= glui
-PORTVERSION= 2.1
-PORTREVISION= 5
+PORTVERSION= 2.36
CATEGORIES= devel graphics
-MASTER_SITES= http://www.cs.unc.edu/~rademach/glui/src/release/
-DISTNAME= glui_v2_1_beta
+MASTER_SITES= SF/${PORTNAME}/Source/${PORTVERSION}
+EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= GLUT-based C++ user interface library
@@ -19,21 +18,18 @@ USE_GL= glut
USE_GMAKE= yes
USE_XORG= xmu xext x11 xi
MAKEFILE= makefile
-ALL_TARGET= # empty
-post-patch:
- @${REINPLACE_CMD} -e 's:/unc/walk/lib/sgi_irix:${PREFIX}/lib:g; \
- s:/unc/walk/include:${PREFIX}/include:g; \
- s:^CFLAGS:#&:; s:^CC=:CC?=gcc #:; \
- s:^libs =:&${PTHREAD_LIBS}:' ${WRKSRC}/makefile
- @${MKDIR} ${WRKSRC}/lib ${WRKSRC}/bin
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
+PLIST_FILES= include/glui.h lib/libglui.a
+PORTDOCS= *
do-install:
- ${INSTALL_DATA} ${WRKSRC}/glui.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/lib/libglui.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/include/GL/glui.h ${PREFIX}/include/
+ ${INSTALL_DATA} ${WRKSRC}/lib/libglui.a ${PREFIX}/lib/
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/glui
- ${INSTALL_DATA} ${WRKSRC}/glui_manual.pdf ${PREFIX}/share/doc/glui
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/glui_manual.pdf ${DOCSDIR}/
.endif
.include <bsd.port.mk>