1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/science/checkmol/Makefile
Vanilla I. Shu d3e1c4870d Stagify.
2014-06-10 12:52:48 +00:00

34 lines
767 B
Makefile

# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
# $FreeBSD$
PORTNAME= checkmol
PORTVERSION= 0.5
PORTREVISION= 1
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
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 <bsd.port.mk>