blob: 4751c256a2ae6afe6d0825758c40668c6e80e221 (
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
|
# New ports collection makefile for: glui
# Date created: 25 September 2001
# Whom: mwest@uct.ac.za
#
# $FreeBSD$
#
PORTNAME= glui
PORTVERSION= 2.1
CATEGORIES= devel graphics
MASTER_SITES= http://www.cs.unc.edu/~rademach/glui/
DISTNAME= glui_v2_1_beta
MAINTAINER= mwest@uct.ac.za
USE_MESA= yes
USE_GMAKE= yes
MAKEFILE= makefile
ALL_TARGET= # empty
USE_X_PREFIX= yes
post-patch:
@${PERL} -pi -e 's:/unc/walk/lib/sgi_irix:${PREFIX}/lib:g' ${WRKSRC}/makefile
@${PERL} -pi -e 's:/unc/walk/include:${PREFIX}/include:g' ${WRKSRC}/makefile
@${PERL} -pi -e 's:^CFLAGS:#CFLAGS:g' ${WRKSRC}/makefile
@${PERL} -pi -e 's:^CC=:CC=gcc #:g' ${WRKSRC}/makefile
@${PERL} -pi -e 's:^libs =:libs=-pthread:g' ${WRKSRC}/makefile
@${MKDIR} ${WRKSRC}/lib ${WRKSRC}/bin
do-install:
${INSTALL_DATA} ${WRKSRC}/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
.endif
.include <bsd.port.mk>
|