aboutsummaryrefslogtreecommitdiff
path: root/biology/adun/Makefile
blob: 70118deea485e99cf2db6c2c722824666ec8f7b0 (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
# New ports collection makefile for:    adun
# Date created:         4 Sep 2006
# Whom:                 gurkan@linuks.mine.nu
#
# $FreeBSD$
#

PORTNAME=	adun
PORTVERSION=	0.6
CATEGORIES=	biology gnustep
MASTER_SITES=	http://download.gna.org/adun/
DISTNAME=	Adun${PORTVERSION}

MAINTAINER=	gurkan@linuks.mine.nu
COMMENT=	Molecular Simulator for GNUstep

LIB_DEPENDS+=	gsl.9:${PORTSDIR}/math/gsl

USE_GNUSTEP=	yes
USE_GNUSTEP_PREFIX=	yes
USE_GNUSTEP_BACK=	yes
USE_GNUSTEP_BUILD=	yes
USE_GNUSTEP_INSTALL=	yes
USE_GNUSTEP_LDCONFIG=	${GNUSTEP_LOCAL_LIBRARIES}

WRKSRC=		${WRKDIR}/Adun

post-patch:
	${REINPLACE_CMD} -e 's|include Defs/|-include Defs/|' \
		${WRKSRC}/MolTalk/GNUmakefile.preamble
	${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DIR|#GNUSTEP_INSTALLATION_DIR|' \
		${WRKSRC}/Tools/GNUmakefile \
		${WRKSRC}/Tools/ResultsConverter/GNUmakefile \
		${WRKSRC}/MolTalk/GNUmakefile.preamble \
		${WRKSRC}/Kernel/GNUmakefile \
		${WRKSRC}/Kernel/AdunKernel/GNUmakefile \
		${WRKSRC}/UL/GNUmakefile \
		${WRKSRC}/UL/AdunServer/GNUmakefile

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
IGNORE=		not enough math funtions
.endif

.include <bsd.port.post.mk>