2002-04-05 18:02:16 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ebview
|
2004-08-16 20:32:06 +02:00
|
|
|
PORTVERSION= 0.3.6
|
2012-09-13 22:33:53 +02:00
|
|
|
PORTREVISION= 17
|
2002-04-05 18:02:16 +02:00
|
|
|
CATEGORIES= japanese
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF
|
2004-01-16 15:19:34 +01:00
|
|
|
PKGNAMESUFFIX= -gtk2
|
2002-04-05 18:02:16 +02:00
|
|
|
|
2002-05-26 12:23:59 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Electronic Book Viewer
|
2002-04-05 18:02:16 +02:00
|
|
|
|
2014-01-19 15:30:23 +01:00
|
|
|
LICENSE= GPLv2 # (or later)
|
2002-04-05 18:02:16 +02:00
|
|
|
|
2014-01-19 15:30:23 +01:00
|
|
|
LIB_DEPENDS= libeb.so:${PORTSDIR}/japanese/eb
|
2003-12-27 14:34:36 +01:00
|
|
|
|
2014-01-19 15:30:23 +01:00
|
|
|
CONFLICTS= ja-ebview-[0-9]*
|
|
|
|
|
|
|
|
USES= gettext gmake pkgconfig
|
|
|
|
USE_GNOME= gtk20 pangox-compat
|
2012-07-05 19:26:10 +02:00
|
|
|
USE_CSTD= gnu89
|
2014-01-19 15:30:23 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-eb-conf=${LOCALBASE}/etc/eb.conf
|
2004-01-16 03:10:23 +01:00
|
|
|
|
2006-06-11 17:47:02 +02:00
|
|
|
SUB_FILES= ebview.desktop
|
|
|
|
|
2014-01-19 15:30:23 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
2014-07-16 04:29:34 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2004-01-18 15:33:23 +01:00
|
|
|
post-patch:
|
2007-10-25 01:37:25 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|#define GTK_DISABLE_DEPRECATED 1||g' \
|
|
|
|
${WRKSRC}/src/ebview.c
|
2003-09-02 20:39:16 +02:00
|
|
|
|
2002-04-05 18:02:16 +02:00
|
|
|
post-install:
|
2014-01-19 15:30:23 +01:00
|
|
|
(cd ${WRKDIR} && ${INSTALL_DATA} ${SUB_FILES} \
|
|
|
|
${STAGEDIR}${DESKTOPDIR})
|
|
|
|
(cd ${WRKSRC}/pixmaps && ${INSTALL_DATA} ebview.xpm \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps)
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for i in ChangeLog README
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
|
2002-04-05 18:02:16 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|