aboutsummaryrefslogtreecommitdiffstats
path: root/science/mol2ps/Makefile
blob: 16e2e1ec9eaadb02b6ebbe24a9228f56ff46c07e (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
# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
# $FreeBSD$

PORTNAME=   mol2ps
PORTVERSION=    0.1e
PORTREVISION=   4
CATEGORIES= science
MASTER_SITES=   http://merian.pch.univie.ac.at/pch/download/chemistry/${PORTNAME}/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .pas

MAINTAINER= ports@FreeBSD.org
COMMENT=    Read molecular structure files and generate Postscript output

USE_FPC=    yes

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
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${FILESDIR}/color.conf ${DATADIR}

.include <bsd.port.mk>