aboutsummaryrefslogtreecommitdiffstats
path: root/science/checkmol/Makefile
blob: fe5f86fdc9de5991425a7a1ae95003c93e4b3b03 (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
# New ports collection makefile for:    checkmol
# Date created:     23 Feb 2009
# Whom:             Fernan Aguero <fernan@iib.unsam.edu.ar>
#
# $FreeBSD$
#

PORTNAME=   checkmol
PORTVERSION=    0.4a
PORTREVISION=   2
CATEGORIES= science
MASTER_SITES=   http://merian.pch.univie.ac.at/pch/download/chemistry/checkmol/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .pas

MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT=    Analyze molecules for the presence of functional groups

USE_FPC=    yes
PLIST_FILES=    bin/checkmol bin/matchmol

do-extract:
    @${RM} -rf ${WRKDIR}
    @${MKDIR} ${WRKDIR}
    ${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/
do-build:
    cd ${WRKDIR}; ${LOCALBASE}/bin/fpc ${DISTFILES} -S2 -O3 -Op3
do-install:
    ${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/
    ${LN} ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/matchmol

.include <bsd.port.mk>