# Created by: Fernan Aguero # $FreeBSD$ PORTNAME= checkmol PORTVERSION= 0.4e CATEGORIES= science MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/checkmol/ DISTNAME= ${PORTNAME} EXTRACT_SUFX= .pas DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} 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= ${WRKDIR} 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} ${PORTNAME} ${PREFIX}/bin) (cd ${PREFIX}/bin && ${LN} ${PORTNAME} matchmol) .include