aboutsummaryrefslogtreecommitdiff
path: root/science/shelxle/Makefile
blob: 937fa24277996f7d833319d3d08c65769bf91fa4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $FreeBSD$

PORTNAME=	shelxle
DISTVERSION=	1.0.1229
CATEGORIES=	science # chemistry
MASTER_SITES=	SF/${PORTNAME}/code/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Graphical user interface for small-molecule structure refinement

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		compiler:c++11-lang dos2unix gl qmake qt:5 tar:bz2
DOS2UNIX_FILES=	shelXle.pro
USE_QT=		core gui network opengl widgets buildtools_build
USE_GL=		gl

PLIST_FILES=	bin/shelxle \
		share/applications/shelxle.desktop \
		share/pixmaps/shelxle.png

post-patch:
	@${FIND} ${WRKSRC} -name "*.cpp" -o -name "*.h" | ${XARGS} ${REINPLACE_CMD} -e 's|NULL|nullptr|g'

.include <bsd.port.mk>