1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/japanese/ebview/Makefile
Tijl Coosemans 00789911dc graphics/imlib:
- Remove :oldver from USES=libtool and bump dependent ports
2014-09-19 20:43:03 +00:00

42 lines
798 B
Makefile

# $FreeBSD$
PORTNAME= ebview
PORTVERSION= 0.2.1
PORTREVISION= 17
CATEGORIES= japanese
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Electronic Book Viewer
LICENSE= GPLv2 # (or later)
LIB_DEPENDS= libeb.so:${PORTSDIR}/japanese/eb
OPTIONS_DEFINE= DOCS
CONFLICTS= ja-ebview-gtk2-[0-9]*
USES= gettext gmake
USE_GNOME= imlib
USE_AUTOTOOLS= autoconf
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|// .*||' ${WRKSRC}/src/dictheading.c
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ChangeLog README
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
.include <bsd.port.mk>