blob: 70f7f156e2c12e282821ef702305dc3f467af05e (
plain) (
blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# ex:ts=8
# New ports collection makefile for: L-Breeder
# Date created: 30 May 2002
# Whom: David Yeske <dyeske@yahoo.com> et al
#
# $FreeBSD$
#
PORTNAME= LBreeder
PORTVERSION= 1.0
PORTREVISION= 6
CATEGORIES= biology
MASTER_SITES= http://www.simonyi.ox.ac.uk/dawkins/software/yan/L-Breeder/
DISTNAME= ${PORTNAME}-source
MAINTAINER= dyeske@yahoo.com
COMMENT= Allows you to display and breed L-system forms
LIB_DEPENDS= wx_gtk2_gl-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk24 \
glut.3:${PORTSDIR}/graphics/libglut
NO_WRKSUBDIR= yes
BUILD_WRKSRC= ${WRKSRC}/Unix
USE_ZIP= yes
USE_X_PREFIX= yes
USE_GL= yes
USE_GMAKE= yes
USE_REINPLACE= yes
WX_CONFIG= ${X11BASE}/bin/wxgtk2-2.4-config
.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS+= -O3 -ffast-math
.endif
pre-everything::
.if !defined(WITH_OPTIMIZED_CFLAGS)
@${ECHO_MSG} "You can enable additional compilation optimizations"
@${ECHO_MSG} "by defining WITH_OPTIMIZED_CFLAGS"
.endif
do-install:
@${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/documentation/* ${DOCSDIR}
.endif
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/Lsystems/* ${EXAMPLESDIR}
.include <bsd.port.mk>
|