Changeset View
Changeset View
Standalone View
Standalone View
head/science/checkmol/Makefile
Show All 11 Lines | |||||
COMMENT= Analyze molecules for the presence of functional groups | COMMENT= Analyze molecules for the presence of functional groups | ||||
LICENSE= GPLv2 # (or later) | LICENSE= GPLv2 # (or later) | ||||
NO_WRKSUBDIR= yes | NO_WRKSUBDIR= yes | ||||
EXTRACT_CMD= ${CP} | EXTRACT_CMD= ${CP} | ||||
EXTRACT_BEFORE_ARGS= # | EXTRACT_BEFORE_ARGS= # | ||||
EXTRACT_AFTER_ARGS= ${WRKDIR} | EXTRACT_AFTER_ARGS= ${WRKSRC} | ||||
USE_FPC= yes | USE_FPC= yes | ||||
PLIST_FILES= bin/checkmol bin/matchmol | PLIST_FILES= bin/checkmol bin/matchmol | ||||
do-build: | do-build: | ||||
(cd ${WRKSRC} && ${LOCALBASE}/bin/fpc ${EXTRACT_ONLY} -S2 -O3) | (cd ${WRKSRC} && ${LOCALBASE}/bin/fpc ${EXTRACT_ONLY} -S2 -O3) | ||||
do-install: | do-install: | ||||
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}) | (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}) | ||||
(cd ${STAGEDIR}${PREFIX}/bin && ${LN} ${PORTNAME} matchmol) | (cd ${STAGEDIR}${PREFIX}/bin && ${LN} ${PORTNAME} matchmol) | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |