freebsd-ports/science/xdrawchem/Makefile
Felix Palmen 7d1faa7179 bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
2023-07-12 20:56:04 +02:00

31 lines
756 B
Makefile

PORTNAME= xdrawchem
DISTVERSION= 1.11.0-2
PORTREVISION= 2
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Two-dimensional molecule drawing program
WWW= https://www.woodsidelabs.com/chemistry/xdrawchem.php
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libopenbabel.so:science/openbabel
USES= compiler:c++11-lang gl qmake qt:5
USE_QT= core gui network printsupport svg widgets xml buildtools:build
USE_GL= gl
USE_GITLAB= yes
GL_SITE= https://salsa.debian.org
GL_ACCOUNT= georgesk
GL_TAGNAME= a3f74c34eb09fa72ee16848ec6901049ca5309d5
pre-configure:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/xdrawchem.pro
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>