2002-04-05 18:02:16 +02:00
|
|
|
# New ports collection makefile for: ebview
|
|
|
|
# Date Created: 28 Jan 2002
|
|
|
|
# Whom: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ebview
|
2003-05-03 17:16:03 +02:00
|
|
|
PORTVERSION= 0.2.1
|
2007-09-30 06:47:36 +02:00
|
|
|
PORTREVISION= 7
|
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}
|
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
|
|
|
|
2003-12-27 14:34:36 +01:00
|
|
|
CONFLICTS= ja-ebview-gtk2-*
|
|
|
|
|
2003-05-03 17:16:03 +02:00
|
|
|
USE_GNOME= imlib
|
2002-04-05 18:02:16 +02:00
|
|
|
USE_GMAKE= yes
|
2007-09-30 06:47:36 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:261
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-02-02 15:29:18 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2003-01-02 18:45:30 +01:00
|
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
|
|
AUTOHEADER="${TRUE}"
|
2002-04-05 18:02:16 +02:00
|
|
|
|
2003-05-01 23:51:05 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
2003-02-02 15:29:18 +01:00
|
|
|
|
2007-05-27 05:03:31 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-12-27 15:58:49 +01:00
|
|
|
pre-build:
|
2003-09-02 20:39:16 +02:00
|
|
|
.for file in src/dictheading.c
|
|
|
|
cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \
|
|
|
|
&& iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE}
|
|
|
|
.endfor
|
|
|
|
|
2002-04-05 18:02:16 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ChangeLog README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2007-05-27 05:03:31 +02:00
|
|
|
.include <bsd.port.post.mk>
|