freebsd-ports/devel/glui/Makefile

38 lines
924 B
Makefile
Raw Normal View History

# Created by: mwest@uct.ac.za
# $FreeBSD$
PORTNAME= glui
2010-02-09 20:39:54 +01:00
PORTVERSION= 2.36
PORTREVISION= 2
CATEGORIES= devel graphics
2010-02-09 20:39:54 +01:00
MASTER_SITES= SF/${PORTNAME}/Source/${PORTVERSION}
EXTRACT_SUFX= .tgz
2004-02-22 03:09:15 +01:00
MAINTAINER= ports@FreeBSD.org
2003-02-21 12:23:04 +01:00
COMMENT= GLUT-based C++ user interface library
USES= gmake
USE_GL= glut
USE_XORG= xmu xext x11 xi
USE_LDCONFIG= yes
MAKEFILE= makefile
2010-02-09 20:39:54 +01:00
WRKSRC= ${WRKDIR}/${DISTNAME}/src
PLIST_FILES= include/glui.h lib/libglui.a lib/libglui.so lib/libglui.so.0
2010-02-09 20:39:54 +01:00
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_DATA} ${WRKSRC}/include/GL/glui.h ${STAGEDIR}${PREFIX}/include
${INSTALL_LIB} ${WRKSRC}/lib/libglui.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/lib/libglui.so \
${STAGEDIR}${PREFIX}/lib/libglui.so.0
${LN} -s libglui.so.0 ${STAGEDIR}${PREFIX}/lib/libglui.so
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/glui_manual.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>