2002-04-05 16:02:16 +00:00
|
|
|
# New ports collection makefile for: ebview
|
|
|
|
# Date Created: 28 Jan 2002
|
|
|
|
# Whom: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ebview
|
2003-05-03 15:16:03 +00:00
|
|
|
PORTVERSION= 0.2.1
|
2004-02-04 05:21:48 +00:00
|
|
|
PORTREVISION= 1
|
2002-04-05 16:02:16 +00:00
|
|
|
CATEGORIES= japanese
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2003-09-04 17:01:36 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-04-05 16:02:16 +00:00
|
|
|
|
2002-05-26 10:23:59 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= Electronic Book Viewer
|
2002-04-05 16:02:16 +00:00
|
|
|
|
2003-02-28 17:38:42 +00:00
|
|
|
LIB_DEPENDS= eb.7:${PORTSDIR}/japanese/eb
|
2002-04-05 16:02:16 +00:00
|
|
|
|
2003-12-27 13:34:36 +00:00
|
|
|
CONFLICTS= ja-ebview-gtk2-*
|
|
|
|
|
2003-05-01 21:51:05 +00:00
|
|
|
USE_GETOPT_LONG= yes
|
2003-05-03 15:16:03 +00:00
|
|
|
USE_GNOME= imlib
|
2002-04-05 16:02:16 +00:00
|
|
|
USE_GMAKE= yes
|
2003-01-02 17:45:30 +00:00
|
|
|
USE_AUTOCONF_VER= 253
|
2003-05-03 15:16:03 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-02-02 14:29:18 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2003-01-02 17:45:30 +00:00
|
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
|
|
AUTOHEADER="${TRUE}"
|
2002-04-05 16:02:16 +00:00
|
|
|
|
2003-05-01 21:51:05 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
2003-02-02 14:29:18 +00:00
|
|
|
|
2003-12-27 14:58:49 +00:00
|
|
|
pre-build:
|
2003-09-02 18:39:16 +00: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 16:02:16 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ChangeLog README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|