View | Details | Raw Unified | Return to bug 185638
Collapse All | Expand All

(-)Makefile (-3 / +37 lines)
Lines 2-13 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	ChipmunkPhysics
4
PORTNAME=	ChipmunkPhysics
5
PORTVERSION=	6.2.0
5
PORTVERSION=	6.2.1
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	http://chipmunk-physics.net/release/Chipmunk-6.x/ \
7
MASTER_SITES=	http://chipmunk-physics.net/release/Chipmunk-6.x/ \
8
		http://files.slembcke.net/chipmunk/release/Chipmunk-6.x/ \
8
		http://files.slembcke.net/chipmunk/release/Chipmunk-6.x/ \
9
		http://files.libsiege.org/chipmunk/
9
		http://files.libsiege.org/chipmunk/
10
DISTNAME=	Chipmunk-${PORTVERSION}
10
DISTNAME=	Chipmunk-${DISTVERSION}
11
EXTRACT_SUFX=	.tgz
11
EXTRACT_SUFX=	.tgz
12
12
13
MAINTAINER=	ports@stdrand.com
13
MAINTAINER=	ports@stdrand.com
Lines 16-23 Link Here
16
LICENSE=	MIT
16
LICENSE=	MIT
17
17
18
USES=		cmake
18
USES=		cmake
19
USE_LDCONFIG=	yes
20
21
OPTIONS_DEFINE=	DOCS EXAMPLES DEMOS
22
DEMOS_DESC=	Install the demo program (requires GLFW and GLEW)
23
24
PORTDOCS=	*
25
PORTEXAMPLES=	*.c *.h
26
27
.include <bsd.port.options.mk>
28
29
PLIST_SUB=	VERSION=${PORTVERSION}
30
31
.if ${PORT_OPTIONS:MDEMOS}
32
USE_GL=		glew
33
LIB_DEPENDS+=	libglfw.so:${PORTSDIR}/graphics/glfw
34
PLIST_SUB+=	DEMOS=""
35
.else
19
CMAKE_ARGS=	-DBUILD_DEMOS=OFF
36
CMAKE_ARGS=	-DBUILD_DEMOS=OFF
37
PLIST_SUB+=	DEMOS="@comment "
38
.endif
20
39
21
USE_LDCONFIG=	yes
40
post-install:
41
.if ${PORT_OPTIONS:MDOCS}
42
	${MKDIR} ${DOCSDIR}
43
	(cd ${WRKSRC} && ${COPYTREE_SHARE} "README.textile VERSION.txt" ${DOCSDIR})
44
	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR})
45
.endif
22
46
47
.if ${PORT_OPTIONS:MEXAMPLES}
48
	${MKDIR} ${EXAMPLESDIR}
49
	(cd ${WRKSRC}/Demo && ${COPYTREE_SHARE} . ${EXAMPLESDIR} "-name *\.c -or -name *\.h")
50
.endif
51
52
.if ${PORT_OPTIONS:MDEMOS}
53
	${INSTALL_PROGRAM} ${WRKSRC}/Demo/chipmunk_demos ${PREFIX}/bin
54
.endif
55
56
NO_STAGE=	yes
23
.include <bsd.port.mk>
57
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (Chipmunk-6.2.0.tgz) = 75fd4098b98dd23e5c1f78a1c9e3080768fb6256143e261638a624163cde5af8
1
SHA256 (Chipmunk-6.2.1.tgz) = 83a47da80c506541c00e1919c0dc83e5f94d13f6534ae15ad663359c171bc7aa
2
SIZE (Chipmunk-6.2.0.tgz) = 1071081
2
SIZE (Chipmunk-6.2.1.tgz) = 1076190
(-)pkg-plist (-1 / +2 lines)
Lines 1-4 Link Here
1
lib/libchipmunk.so.6.2.0
1
%%DEMOS%%bin/chipmunk_demos
2
lib/libchipmunk.so.%%VERSION%%
2
lib/libchipmunk.so
3
lib/libchipmunk.so
3
lib/libchipmunk.a
4
lib/libchipmunk.a
4
include/chipmunk/cpVect.h
5
include/chipmunk/cpVect.h

Return to bug 185638