freebsd-ports/graphics/openproducer/Makefile
2003-07-26 01:38:16 +00:00

41 lines
1,009 B
Makefile

# New ports collection makefile for: openproducer
# Date created: 22 July 2003
# Whom: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= openproducer
PORTVERSION= 0.8.2.2
CATEGORIES= graphics
MASTER_SITES= http://www.andesengineering.com/Producer/Download/
DISTNAME= Producer-${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT= A cross-platform C++/OpenGL library focused on camera control
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_MESA= yes
INSTALLS_SHLIB= yes
USE_GMAKE= yes
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
WRKSRC= ${WRKDIR}/${DISTNAME}
MAKEFILE= GNUmakefile
# opt = optimized ($OPTF added); debug = debug ($DBGF added); opt is default
ALL_TARGET= opt
post-patch:
@${REINPLACE_CMD} -e 's,%%CXXFLAGS%%,${CXXFLAGS},g' \
${WRKSRC}/Make/makedefs
post-install:
${LN} -sf ${PREFIX}/lib/libProducer.so ${PREFIX}/lib/libProducer.so.0
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -r ${WRKSRC}/doc/ ${DOCSDIR}
.endif
.include <bsd.port.mk>