2004-01-16 03:10:23 +01:00
|
|
|
# New ports collection makefile for: ebview-gtk2
|
|
|
|
# Date Created: 7 Dec 2003
|
|
|
|
# Whom: <faust@ua.airnet.ne.jp>
|
2002-04-05 18:02:16 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ebview
|
2004-08-16 20:32:06 +02:00
|
|
|
PORTVERSION= 0.3.6
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 9
|
2002-04-05 18:02:16 +02:00
|
|
|
CATEGORIES= japanese
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2003-09-04 19:01:36 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
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
|
|
|
|
2006-12-02 17:06:44 +01:00
|
|
|
LIB_DEPENDS= eb.12:${PORTSDIR}/japanese/eb
|
2002-04-05 18:02:16 +02:00
|
|
|
|
2004-01-16 03:10:23 +01:00
|
|
|
CONFLICTS= ja-ebview-0*
|
2003-12-27 14:34:36 +01:00
|
|
|
|
2004-01-16 03:10:23 +01:00
|
|
|
USE_GNOME= gtk20 gnometarget
|
2002-04-05 18:02:16 +02:00
|
|
|
USE_GMAKE= yes
|
2006-06-11 17:47:02 +02:00
|
|
|
USE_X_PREFIX= yes
|
2004-01-16 03:10:23 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-06-11 17:47:02 +02:00
|
|
|
CONFIGURE_ARGS+=--with-eb-conf=${LOCALBASE}/etc/eb.conf
|
2004-01-16 03:10:23 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2006-06-11 17:47:02 +02:00
|
|
|
SUB_FILES= ebview.desktop
|
|
|
|
|
2004-01-18 15:33:23 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|-pthread|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
|
2003-09-02 20:39:16 +02:00
|
|
|
|
2002-04-05 18:02:16 +02:00
|
|
|
post-install:
|
2006-07-16 08:42:52 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/applications
|
2006-06-11 17:47:02 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/ebview.xpm ${PREFIX}/share/pixmaps/
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${SUB_FILES} ${PREFIX}/share/applications/
|
2002-04-05 18:02:16 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-01-16 03:10:23 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ChangeLog README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
2002-04-05 18:02:16 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|