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/x11/glcapsviewer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/x11/glcapsviewer/Makefile
PORTNAME=	glcapsviewer
DISTVERSION=	g20190521
PORTREVISION=	1
CATEGORIES=	x11

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	OpenGL hardware capability viewer
WWW=		https://github.com/SaschaWillems/glCapsViewer

LICENSE=	LGPL3

LIB_DEPENDS=	libglfw.so:graphics/glfw

USE_GITHUB=	yes
GH_ACCOUNT=	SaschaWillems
GH_PROJECT=	glCapsViewer
GH_TAGNAME=	26e160c

USES=		cmake compiler:c++11-lang gl qt:5 xorg
USE_GL=		gl glew glu
USE_QT=		buildtools:build qmake:build core gui network widgets
USE_XORG=	ice sm x11 xext

PLIST_FILES=	bin/glcapsviewer ${DATADIR_REL}/capslist.xml \
		${DATADIR_REL}/enumList.xml

post-patch:
	@${REINPLACE_CMD} -e '/target_link_libraries/s,glfw ,,' \
		${WRKSRC}/CMakeLists.txt
	@${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__, ; /ifstream\
		enumListxml/s,[^"]*ist\.xml",${DATADIR}/&,' \
		${WRKSRC}/glCapsViewer.cpp ${WRKSRC}/glCapsViewerCore.cpp
# We install provided `capslist.xml' in the ${DATADIR}, hence disable
# checking for ./capslist.xml and needlessly downloading it
	@${REINPLACE_CMD} -e 's,!capsXmlFile\.exists,false \&\& &,' \
		${WRKSRC}/main.cpp
# Spell XML correctly (it is an abbreviation)
	@${REINPLACE_CMD} -e 's, xml, XML,' ${WRKSRC}/glCapsViewer.ui
# Copyright information does not belong in the window title
	@${REINPLACE_CMD} -e 's, - [^"]*,,' ${WRKSRC}/glCapsViewerCore.h

do-install:
	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
		${STAGEDIR}${PREFIX}/bin
	@${MKDIR} ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/*.xml ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit