1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/science/checkmol/Makefile

34 lines
743 B
Makefile

# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
# $FreeBSD$
PORTNAME= checkmol
PORTVERSION= 0.5
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= ${WRKDIR}
USE_FPC= yes
PLIST_FILES= bin/checkmol bin/matchmol
NO_STAGE= yes
do-build:
(cd ${WRKSRC} && ${LOCALBASE}/bin/fpc ${EXTRACT_ONLY} -S2 -O3)
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${DISTNAME} ${PREFIX}/bin/${PORTNAME})
(cd ${PREFIX}/bin && ${LN} ${PORTNAME} matchmol)
.include <bsd.port.mk>