20948f4616
* lang/fpc was updated to 3.2.2
33 lines
773 B
Makefile
33 lines
773 B
Makefile
# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
|
|
|
|
PORTNAME= checkmol
|
|
PORTVERSION= 0.5
|
|
PORTREVISION= 11
|
|
CATEGORIES= science
|
|
MASTER_SITES= https://homepage.univie.ac.at/norbert.haider/download/chemistry/checkmol/
|
|
DISTFILES= ${PORTNAME}
|
|
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
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${LOCALBASE}/bin/fpc ${EXTRACT_ONLY} -S2 -O3)
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME})
|
|
(cd ${STAGEDIR}${PREFIX}/bin && ${LN} ${PORTNAME} matchmol)
|
|
|
|
.include <bsd.port.mk>
|