1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Add LICENSE

- Switch to USES=localbase
- Cosmetic fixes
- Sinence patching
- Update WWW
This commit is contained in:
Dmitry Marakasov 2019-10-30 20:23:14 +00:00
parent 8e813fd765
commit 069ca14755
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516105
2 changed files with 29 additions and 24 deletions

View File

@ -10,54 +10,59 @@ MASTER_SITES= SF/${PORTNAME}/XaoS/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time fractal browser
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libgsl.so:math/gsl
USES= gmake
USES= gmake localbase
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE=yes
INFO= xaos
PLIST_SUB= XAOSDIR="share/XaoS"
DESKTOP_ENTRIES="XaoS" \
"" \
"${PREFIX}/share/pixmaps/xaos.png" \
"xaos" \
"" \
false
OPTIONS_DEFINE= THREADS NLS
OPTIONS_MULTI= DRIVER
OPTIONS_MULTI_DRIVER= AALIB GTK2 X11
DRIVER_DESC= User Interface
OPTIONS_DEFAULT= X11
OPTIONS_SUB= yes
OPTIONS_SUB= yes
DRIVER_DESC= User Interface
AALIB_LIB_DEPENDS= libaa.so:graphics/aalib
AALIB_CONFIGURE_WITH= aa-driver
AALIB_CONFIGURE_ON= ac_cv_aalib_ver_ok=yes
GTK2_DESC= GTK+ User Interface (experimental)
GTK2_USE= GNOME=gtk20
GTK2_USES= pkgconfig
GTK2_DESC= GTK+ User Interface (experimental)
GTK2_USE= GNOME=gtk20
GTK2_USES= pkgconfig
GTK2_CONFIGURE_WITH= gtk-driver
X11_USE= XORG=x11,xext
X11_USE= XORG=x11,xext
X11_CONFIGURE_WITH= x11-driver x
NLS_USES= gettext iconv
NLS_USES= gettext iconv
NLS_CONFIGURE_ENABLE= nls
THREADS_DESC= Enable SMP support (experimental)
THREADS_DESC= Enable SMP support (experimental)
THREADS_CONFIGURE_WITH= pthread
THREADS_LIBS= -lpthread
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INFO= xaos
PLIST_SUB+= XAOSDIR="share/XaoS"
MAKE_JOBS_UNSAFE= yes
DESKTOP_ENTRIES= "XaoS" "" "${PREFIX}/share/pixmaps/xaos.png" \
"xaos" "" false
THREADS_LIBS= -lpthread
pre-configure:
${REINPLACE_CMD} -e 's,/usr\(/share/locale\),${PREFIX}\1,g' \
@${REINPLACE_CMD} -e 's,/usr\(/share/locale\),${PREFIX}\1,g' \
${WRKSRC}/configure \
${WRKSRC}/src/ui/ui.c
${REINPLACE_CMD} 's,malloc.h,stdlib.h,' \
@${REINPLACE_CMD} 's,malloc.h,stdlib.h,' \
${WRKSRC}/src/ui/ui-drv/aa/ui_aa.c
post-install:

View File

@ -11,4 +11,4 @@ Features:
- palette rotation
- random dot stereograms
WWW: http://xaos.sf.net
WWW: http://matek.hu/xaos/doku.php