403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/graphics/quat-gui/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/graphics/quat-gui/Makefile
PORTNAME=	quat
PORTVERSION=	1.20
PORTREVISION=	17
CATEGORIES=	graphics
MASTER_SITES=	https://www.physcip.uni-stuttgart.de/pages/~phy11733/download/
PKGNAMESUFFIX=	-gui

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Three-dimensional fractal creator (X11 GUI)
WWW=		https://www.physcip.uni-stuttgart.de/pages/~phy11733/index_e.html

LICENSE=	GPLv2+

LIB_DEPENDS=	libfltk.so:x11-toolkits/fltk

OPTIONS_DEFINE=	OPTIMIZED_CFLAGS DOCS

USES=		gl xorg
USE_XORG=	xext
USE_GL=		gl glut
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	FLUID="${LOCALBASE}/bin/fluid"
CONFIGURE_ARGS=	--datadir=${PREFIX}/share/doc

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

DOCSDIR=	${PREFIX}/share/doc/${PKGBASE}

PORTDOCS=	*
PLIST_FILES=	bin/quat

DESKTOP_ENTRIES="Quat" "3D Fractal Generator" "" "${PORTNAME}" "" ""

OPTIMIZED_CFLAGS_CFLAGS=	-O3 -ffast-math

post-patch:
	@${REINPLACE_CMD} -E -e \
		's,-(march=pentium|O3|ffast-math),,g' \
		${WRKSRC}/configure
	@${REINPLACE_CMD} -E -e \
		's|-I\.[[:space:]]+-I\$$\(srcdir\)[[:space:]]+||' \
		${WRKSRC}/gui/Makefile.in
	@${REINPLACE_CMD} -e \
		's|<FL/fl_file_chooser.H>|<FL/Fl_File_Chooser.H>| ; \
		 s|/doc/quat/|/doc/${PKGBASE}/|' \
		${WRKSRC}/gui/MainWindow.cxx
# disable data file installation since distfile does not do
# The Right Thing(TM)
	@${REINPLACE_CMD} -E -e \
		's|^(install-data-am:).*$$|\1| ; \
		 s|^(SUBDIRS.*)doc|\1|' \
		${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} -e \
		's|@PACKAGE@|${PKGBASE}|' \
		${WRKSRC}/doc/Makefile.in

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	@(cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
		${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit