# Created by: Fernan Aguero # $FreeBSD: head/science/checkmol/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $ 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+ 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