freebsd-ports/graphics/glass/Makefile
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00

40 lines
984 B
Makefile

# New ports collection makefile for: glass
# Date created: Thu Aug 23 09:10:22 EDT 2001
# Whom: pat@databits.net
#
# $FreeBSD$
#
PORTNAME= glass
PORTVERSION= 1.2.1
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= pat@FreeBSD.org
COMMENT= GLASS (openGL Articulated Structure System) is a 3D library
USE_MESA= yes
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
pre-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
${WRKSRC}/*.c
do-install:
@${INSTALL_DATA} ${WRKSRC}/libglass.so.${PORTVERSION} ${PREFIX}/lib
@${LN} -sf ${PREFIX}/lib/libglass.so.${PORTVERSION} ${PREFIX}/lib/libglass.so
@${LN} -sf ${PREFIX}/lib/libglass.so ${PREFIX}/lib/libglass.so.1
@${INSTALL_DATA} ${WRKSRC}/glass.h ${PREFIX}/include
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/../docs/*.html \
${DOCSDIR}
.endif
.include <bsd.port.mk>