aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-09-04 15:27:35 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-09-04 15:27:35 +0800
commitc8ce8aa9073d4a3e9809f6be2df652daed263374 (patch)
treeb883315d82e117acadd72aeb4c2cb263dd7997bf /devel
parent21674dfb49f23d01829f3e02910c2cc78bce7319 (diff)
downloadfreebsd-ports-gnome-c8ce8aa9073d4a3e9809f6be2df652daed263374.tar.gz
freebsd-ports-gnome-c8ce8aa9073d4a3e9809f6be2df652daed263374.tar.zst
freebsd-ports-gnome-c8ce8aa9073d4a3e9809f6be2df652daed263374.zip
- Fix LICENSE
- Switch to USES=localbase Approved by: portmgr blanket
Diffstat (limited to 'devel')
-rw-r--r--devel/dbus-c++/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/devel/dbus-c++/Makefile b/devel/dbus-c++/Makefile
index 3f1e72da6701..deea24ddd9ab 100644
--- a/devel/dbus-c++/Makefile
+++ b/devel/dbus-c++/Makefile
@@ -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