mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
math/xgap: New port: Graphical user interface for GAP
This commit is contained in:
parent
a36f5280a8
commit
cbdfb0e7c2
@ -1082,6 +1082,7 @@
|
||||
SUBDIR += wxmaxima
|
||||
SUBDIR += xblas
|
||||
SUBDIR += xfce4-calculator-plugin
|
||||
SUBDIR += xgap
|
||||
SUBDIR += xgraph
|
||||
SUBDIR += xlapack
|
||||
SUBDIR += xldlas
|
||||
|
41
math/xgap/Makefile
Normal file
41
math/xgap/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
PORTNAME= xgap
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 4.31
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Graphical user interface for GAP
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= gap:math/gap
|
||||
LIB_DEPENDS= libXaw.so:x11-toolkits/libXaw
|
||||
RUN_DEPENDS= gap:math/gap
|
||||
|
||||
USES= autoreconf gmake xorg
|
||||
USE_XORG= ice sm x11 xext xmu xt
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= gap-packages
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-gaproot=${LOCALBASE}/share/gap
|
||||
|
||||
ALL_TARGET= default
|
||||
|
||||
PLIST_FILES= bin/xgap \
|
||||
bin/xgap-bin
|
||||
|
||||
pre-build:
|
||||
@cd ${WRKSRC} && ./autogen.sh
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/*/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
${REINPLACE_CMD} -i '' -e " \
|
||||
s,^XGAP=.*,XGAP=${PREFIX}/bin/${PORTNAME}-bin,; \
|
||||
s,^GAP=.*,GAP=${PREFIX}/bin/gap,; \
|
||||
" ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/xgap/distinfo
Normal file
3
math/xgap/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1645117274
|
||||
SHA256 (gap-packages-xgap-v4.31_GH0.tar.gz) = e45073adb568fd632f6b78cbb6ebc9c644bab11be3d787de33ac99ca624c7e7c
|
||||
SIZE (gap-packages-xgap-v4.31_GH0.tar.gz) = 256467
|
3
math/xgap/pkg-descr
Normal file
3
math/xgap/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
The XGAP package allows to use graphics in GAP.
|
||||
|
||||
WWW: https://gap-packages.github.io/xgap/
|
Loading…
Reference in New Issue
Block a user