- Fix LICENSE

- Switch to USES=localbase

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2016-09-04 07:27:35 +00:00
parent 0519a5d70a
commit 0bd3d8c3af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421306

View file

@ -10,7 +10,7 @@ CATEGORIES= devel gnome
MAINTAINER= yuri@rawbw.com
COMMENT= C++ API for D-BUS
LICENSE= LGPL21
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexpat.so:textproc/expat2 \
@ -20,7 +20,7 @@ USE_GITHUB= yes
GH_ACCOUNT= andreas-volz
GH_PROJECT= dbus-cplusplus
USES= autoreconf compiler:c++11-lib gettext gmake libtool pkgconfig
USES= autoreconf compiler:c++11-lib gettext gmake libtool localbase pkgconfig
GNU_CONFIGURE= yes
USE_GNOME= glib20
USE_LDCONFIG= yes
@ -31,11 +31,10 @@ CONFIGURE_ARGS= --prefix=${LOCALBASE} \
--disable-tests \
--disable-examples \
--disable-doxygen-docs
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} 's|^pkgconfigdir = .*|pkgconfigdir=$${prefix}/libdata/pkgconfig|' ${WRKSRC}/Makefile.am
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdbus-c++-1.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdbus-c++-glib-1.so