blob: af0bdabeec534b4631cef15dcdb3707f5cc6e4ee (
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
|
# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
# $FreeBSD$
PORTNAME= checkmol
PORTVERSION= 0.5
PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/checkmol/
EXTRACT_SUFX= .pas
MAINTAINER= ports@FreeBSD.org
COMMENT= Analyze molecules for the presence of functional groups
LICENSE= GPLv2 # (or later)
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= ${WRKSRC}
USE_FPC= yes
PLIST_FILES= bin/checkmol bin/matchmol
do-build:
(cd ${WRKSRC} && ${LOCALBASE}/bin/fpc ${EXTRACT_ONLY} -S2 -O3)
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME})
(cd ${STAGEDIR}${PREFIX}/bin && ${LN} ${PORTNAME} matchmol)
.include <bsd.port.mk>
|