1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/graphics/epdfview/Makefile
Rong-En Fan 3e07262a9d - devel/cppunit is used in build only (for testing suite). Change to
BUILD_DEPENDS, bump PORTREVISION

PR:		ports/110091
Submitted by:	Artis Caune <Artis.Caune at latnet.lv>
Approved by:	chinsan (maintainer)
2007-03-09 13:25:13 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: epdfview
# Date created: 2006/06/01
# Whom: chinsan <chinsan.tw@gmail.com>
#
# $FreeBSD$
#
PORTNAME= epdfview
PORTVERSION= 0.1.6
PORTREVISION= 1
CATEGORIES= graphics print gnome
MASTER_SITES= http://trac.emma-soft.com/epdfview/chrome/site/releases/ \
LOCAL/chinsan
MAINTAINER= chinsan@FreeBSD.org
COMMENT= A lightweight PDF document viewer
BUILD_DEPENDS= DllPlugInTester:${PORTSDIR}/devel/cppunit
LIB_DEPENDS= poppler-glib.1:${PORTSDIR}/graphics/poppler-gtk
USE_BZIP2= yes
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_ICONV= yes
USE_XLIB= yes
USE_GMAKE= yes
USE_GNOME= gtk20 intlhack
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-install:
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.desktop ${PREFIX}/share/applications/
@-update-desktop-database
.include <bsd.port.mk>