science/libint2: Use PKGNAMESUFFIX

Reported by:	mat
This commit is contained in:
Yuri Victorovich 2018-08-28 07:03:11 +00:00
parent a271060745
commit e3e8ed90fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478288

View File

@ -1,11 +1,12 @@
# Created by: NAKATA, Maho <maho@FreeBSD.org>
# $FreeBSD$
PORTNAME= libint2
PORTNAME= libint
DISTVERSIONPREFIX= v
DISTVERSION= 2.5.0-beta.2-20
DISTVERSIONSUFFIX= -gc2e0a72
CATEGORIES= science
PKGNAMESUFFIX= 2
MAINTAINER= yuri@FreeBSD.org
COMMENT= Evaluate the integrals in modern atomic and molecular theory
@ -21,7 +22,6 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
USES= autoreconf:build compiler:c++11-lang gmake libtool localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= evaleev
GH_PROJECT= ${PORTNAME:S/2//}
USE_LDCONFIG= yes
ALL_TARGET= default
@ -29,8 +29,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --disable-static --with-cc-optflags="${CFLAGS}" \
--with-cxx-optflags="${CXXFLAGS}"
DATADIR= ${PREFIX}/share/${PORTNAME:S/2//}
post-patch:
@${REINPLACE_CMD} -e 's| -rpath|${LDFLAGS} -rpath|g' \
${WRKSRC}/src/lib/MakeVars.in