aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/fbreader
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-09-07 21:21:48 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-09-07 21:21:48 +0800
commitb725655de21649c72006723634173158796b10a8 (patch)
treee9ffdb7513964e8a9668538f01bbe40326469230 /deskutils/fbreader
parent788fd5f15583b33c49e7702b4bfd54a5319dc188 (diff)
downloadfreebsd-ports-gnome-b725655de21649c72006723634173158796b10a8.tar.gz
freebsd-ports-gnome-b725655de21649c72006723634173158796b10a8.tar.zst
freebsd-ports-gnome-b725655de21649c72006723634173158796b10a8.zip
- Fix plist for GTK2 mode
- Switch to USES=localbase PR: 212382 Submitted by: maciej@pasternacki.net Approved by: just fix it blanket MFH: 2016Q3 (blanket)
Diffstat (limited to 'deskutils/fbreader')
-rw-r--r--deskutils/fbreader/Makefile4
-rw-r--r--deskutils/fbreader/pkg-plist3
2 files changed, 3 insertions, 4 deletions
diff --git a/deskutils/fbreader/Makefile b/deskutils/fbreader/Makefile
index ff9e3aad530e..7790266ee705 100644
--- a/deskutils/fbreader/Makefile
+++ b/deskutils/fbreader/Makefile
@@ -27,13 +27,11 @@ STATUS= debug
STATUS= release
.endif
-USES= compiler gmake iconv pkgconfig sqlite tar:tgz
+USES= compiler gmake iconv localbase pkgconfig sqlite tar:tgz
USE_LDCONFIG= yes
INSTALL_TARGET= do_install
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= TARGET_ARCH=desktop TARGET_STATUS=${STATUS} \
ROOTDIR=${WRKSRC} INSTALLDIR=${PREFIX} LIBDIR=${PREFIX}/lib \
LD="${CXX}"
diff --git a/deskutils/fbreader/pkg-plist b/deskutils/fbreader/pkg-plist
index 06c4c9069529..8913805aaa5d 100644
--- a/deskutils/fbreader/pkg-plist
+++ b/deskutils/fbreader/pkg-plist
@@ -124,7 +124,8 @@ share/zlibrary/encodings/KOI8-R
share/zlibrary/encodings/windows-1251
share/zlibrary/encodings/windows-1252
share/zlibrary/hyphenationPatterns.zip
-share/zlibrary/keynames-qt4.xml
+%%GTK2%%share/zlibrary/keynames-gtk.xml
+%%QT4%%share/zlibrary/keynames-qt4.xml
share/zlibrary/languagePatterns.zip
share/zlibrary/resources/ar.xml
share/zlibrary/resources/bg.xml