diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-02-16 09:31:47 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-02-16 09:33:08 +0000 |
commit | f00ef1df14f1d23e59ab6986600157aa0055340b (patch) | |
tree | c82e4aa5c227d7b2bb5eb2494dcee862dd4299eb /math/gap | |
parent | e8b1925eb7a7fe68472054c6bacf75521e648722 (diff) |
Diffstat (limited to 'math/gap')
-rw-r--r-- | math/gap/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/math/gap/Makefile b/math/gap/Makefile index ce19ff57f0a4..f2f7db23b718 100644 --- a/math/gap/Makefile +++ b/math/gap/Makefile @@ -2,6 +2,7 @@ PORTNAME= gap DISTVERSION= 4.11.1 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://github.com/gap-system/gap/releases/download/v${DISTVERSION}/ @@ -93,5 +94,10 @@ post-install: .for p in ${MINPACK} ${ADD_PACK} (cd ${WRKSRC}/pkg && ${CP} -R $$(ls -d ${p}*) ${STAGEDIR}${DATADIR}/pkg/) .endfor + # correct paths in sysinfo.gap + ${REINPLACE_CMD} -i '' -e ' \ + s|^GAP_BIN_DIR=.*|GAP_BIN_DIR="${PREFIX}/bin"|; \ + s|^GAP_LIB_DIR=.*|GAP_LIB_DIR="${PREFIX}/lib"|; \ + ' ${STAGEDIR}${DATADIR}/sysinfo.gap .include <bsd.port.mk> |