mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
47 lines
944 B
Makefile
47 lines
944 B
Makefile
# New ports collection makefile for: ebview
|
|
# Date Created: 28 Jan 2002
|
|
# Whom: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ebview
|
|
PORTVERSION= 0.2.1
|
|
PORTREVISION= 13
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Electronic Book Viewer
|
|
|
|
LIB_DEPENDS= eb.15:${PORTSDIR}/japanese/eb
|
|
|
|
CONFLICTS= ja-ebview-gtk2-*
|
|
|
|
USE_GNOME= imlib
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= autoconf
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
AUTOHEADER="${TRUE}"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-build:
|
|
.for file in src/dictheading.c
|
|
cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \
|
|
&& iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE}
|
|
.endfor
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in ChangeLog README
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|