summaryrefslogtreecommitdiff
path: root/deskutils/fbreader/Makefile
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2009-12-23 00:38:18 +0000
committerDima Panov <fluffy@FreeBSD.org>2009-12-23 00:38:18 +0000
commit13fa57c38d0a65274926289de935367891faccc2 (patch)
tree89ce30cc236a56e78cc49d4c662fd33d7b5bc25f /deskutils/fbreader/Makefile
parentGunFu Deadlands is a Far West themed 2D action shooter featuring (diff)
- Update FBReader to 0.12.1 release
PR: 141862 Submitted by: Yuri Pankov Approved by: tabthorpe (co-mentor)
Notes
Notes: svn path=/head/; revision=246472
Diffstat (limited to 'deskutils/fbreader/Makefile')
-rw-r--r--deskutils/fbreader/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/deskutils/fbreader/Makefile b/deskutils/fbreader/Makefile
index a9247985a47a..dc625839d4db 100644
--- a/deskutils/fbreader/Makefile
+++ b/deskutils/fbreader/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fbreader
-PORTVERSION= 0.11.2
+PORTVERSION= 0.12.1
DISTVERSIONPREFIX= sources-
CATEGORIES= deskutils
MASTER_SITES= http://www.fbreader.org/
@@ -30,18 +30,23 @@ QT_COMPONENTS= gui corelib moc_build
LDFLAGS+= -L${QT_LIBDIR}
.endif
+.if defined(WITH_DEBUG)
+STATUS= debug
+.else
+STATUS= release
+.endif
+
USE_GMAKE= yes
USE_SQLITE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= do_install
PLIST_SUB= UI=${UI}
-PLIST_SUB+= VERSION=${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-MAKE_ENV+= TARGET_ARCH=desktop UI_TYPE=${UI} TARGET_STATUS=release \
+MAKE_ENV+= TARGET_ARCH=desktop UI_TYPE=${UI} TARGET_STATUS=${STATUS} \
ROOTDIR=${WRKSRC} INSTALLDIR=${PREFIX} LIBDIR=${PREFIX}/lib \
LD="${CXX}" LDFLAGS="${LDFLAGS}"
MAKE_ARGS+= MAKE=${GMAKE} LIBDIR=${PREFIX}/lib