blob: 10675e51c4fdaf62f80a4825a48304aa6b6886ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
PORTNAME= openctm
DISTVERSION= 1.0.3
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>
|