1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/graphics/inventor/Makefile
Jason E. Hale 68b94b6a4c - Support staging
- Add LICENSE
- Convert WITH_DEBUG into DEBUG option
- Strip binaries
- Remove superfluous leading words from COMMENT
- Pet portlint(1)
- Clean up pkg-descr
- Bump PORTREVISION

Approved by:	portmgr (blanket approval)
2014-06-25 14:51:11 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Christian Gusenbauer
# $FreeBSD$
PORTNAME= inventor
PORTVERSION= 2.1.5.p10
PORTREVISION= 9
CATEGORIES= graphics
MASTER_SITES= ftp://oss.sgi.com/projects/inventor/download/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/-/}
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= c47g@gmx.at
COMMENT= SGI's Open Inventor (TM)
LICENSE= LGPL21
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
libjpeg.so:${PORTSDIR}/graphics/jpeg
CONFLICTS= Coin-[0-9]* SoXt-[0-9]*
USE_XORG= x11 xi
USE_GL= glu glw
USES= iconv gmake motif
USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386 amd64
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/lib:${WRKSRC}/libSoXt \
INSTALL_STRIP=${STRIP} \
IVROOT=${STAGEDIR}
MAKEFILE= GNUmakefile
SUB_FILES= pkg-message
OPTIONS_DEFINE= DEBUG
DEBUG_MAKE_ENV= LIBTYPE=debug
post-patch:
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ;\
s|%%CXX%%|${CXX}|g ; \
s|%%CXXFLAGS%%|${CXXFLAGS}|g' ${WRKSRC}/make/ivcommondefs
@${REINPLACE_CMD} -e 's|%%ICONV_LIB%%|${ICONV_LIB}|' \
${WRKSRC}/lib/GNUmakefile
.include <bsd.port.mk>