summaryrefslogtreecommitdiff
path: root/science/checkmol/Makefile
blob: 29d1d71b9f8086457593151f59ca94cad670fb16 (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
PORTNAME=	checkmol
PORTVERSION=	0.5
PORTREVISION=	14
CATEGORIES=	science
MASTER_SITES=	https://homepage.univie.ac.at/norbert.haider/download/chemistry/checkmol/
DISTFILES=	${PORTNAME}
EXTRACT_SUFX=	.pas

MAINTAINER=	acm@FreeBSD.org
COMMENT=	Analyze molecules for the presence of functional groups
WWW=		https://homepage.univie.ac.at/norbert.haider/cheminf/cmmm.html

LICENSE=	GPLv2+

NO_WRKSUBDIR=	yes

EXTRACT_CMD=	${CP}
EXTRACT_BEFORE_ARGS=	#
EXTRACT_AFTER_ARGS=	${WRKSRC}

USES=		fpc

PLIST_FILES=	bin/checkmol bin/matchmol

do-build:
	(cd ${WRKSRC} && ${LOCALBASE}/bin/fpc ${EXTRACT_ONLY} -S2 -O3)

do-install:
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME})
	(cd ${STAGEDIR}${PREFIX}/bin && ${LN} ${PORTNAME} matchmol)

.include <bsd.port.mk>