Changeset View
Changeset View
Standalone View
Standalone View
science/checkmol/Makefile
Show All 13 Lines | |||||
LICENSE= GPLv2+ | LICENSE= GPLv2+ | ||||
NO_WRKSUBDIR= yes | NO_WRKSUBDIR= yes | ||||
EXTRACT_CMD= ${CP} | EXTRACT_CMD= ${CP} | ||||
EXTRACT_BEFORE_ARGS= # | EXTRACT_BEFORE_ARGS= # | ||||
EXTRACT_AFTER_ARGS= ${WRKSRC} | EXTRACT_AFTER_ARGS= ${WRKSRC} | ||||
USE_FPC= yes | USES= fpc | ||||
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> |