1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/cad/openctm/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

37 lines
1.0 KiB
Makefile

PORTNAME= openctm
DISTVERSION= 1.0.3
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= https://sourceforge.net/projects/openctm/files/
DISTNAME= OpenCTM-${DISTVERSION}-src
MAINTAINER= db@FreeBSD.org
COMMENT= File format for compression of 3D triangle meshes
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libtinyxml.so:textproc/tinyxml \
libpnglite.so:graphics/pnglite \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
BUILD_DEPENDS= pnglite>0:graphics/pnglite \
tinyxml>0:textproc/tinyxml
USES= compiler:c++11-lang dos2unix gettext-runtime gl gmake \
gnome jpeg pkgconfig tar:bz2
USE_GL= gl glu glew glut
USE_GNOME= gtk20 pango atk cairo gdkpixbuf2 glib20
MAKEFILE= Makefile.linux
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/OpenCTM-${DISTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
-e 's|%%STAGEDIR%%|${STAGEDIR}|' ${WRKSRC}/Makefile.linux
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/tools/Makefile.linux ${WRKSRC}/Makefile.linux
.include <bsd.port.mk>