1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/graphics/xaos/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

68 lines
1.5 KiB
Makefile

# Created by: Joseph Koshy <koshy@india.hp.com>
# $FreeBSD$
PORTNAME= xaos
PORTVERSION= 3.6
PORTREVISION= 6
CATEGORIES= graphics math
MASTER_SITES= SF/${PORTNAME}/XaoS/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time fractal browser
LIB_DEPENDS= libpng.so:graphics/png \
libgsl.so:math/gsl
USES= gmake
GNU_CONFIGURE= yes
OPTIONS_DEFINE= THREADS NLS
OPTIONS_MULTI= DRIVER
OPTIONS_MULTI_DRIVER= AALIB GTK2 X11
DRIVER_DESC= User Interface
OPTIONS_DEFAULT= X11
OPTIONS_SUB= yes
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_CONFIGURE_WITH= gtk-driver
X11_USE= XORG=x11,xext
X11_CONFIGURE_WITH= x11-driver x
NLS_USES= gettext iconv
NLS_CONFIGURE_ENABLE= nls
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
pre-configure:
${REINPLACE_CMD} -e 's,/usr\(/share/locale\),${PREFIX}\1,g' \
${WRKSRC}/configure \
${WRKSRC}/src/ui/ui.c
${REINPLACE_CMD} 's,malloc.h,stdlib.h,' \
${WRKSRC}/src/ui/ui-drv/aa/ui_aa.c
post-install:
${INSTALL_DATA} ${WRKSRC}/src/ui/ui-drv/qt/images/xaosbig.png \
${STAGEDIR}${PREFIX}/share/pixmaps/xaos.png
.include <bsd.port.mk>