freebsd-ports/science/checkmol/Makefile
Jose Alonso Cardenas Marquez 846470de89 - Add LLD_UNSAFE
PR:		214864
2019-01-15 05:43:59 +00:00

35 lines
768 B
Makefile

# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
# $FreeBSD$
PORTNAME= checkmol
PORTVERSION= 0.5
PORTREVISION= 4
CATEGORIES= science
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/checkmol/
EXTRACT_SUFX= .pas
MAINTAINER= acm@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}
USES= fpc
PLIST_FILES= bin/checkmol bin/matchmol
LLD_UNSAFE= yes
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>