Sylvio's last commit was 17 months ago, a full 5 months after all of his ports could have been reset per policy. Given the push to complete staging (48 ports are still unstaged, something like 70+ have already been staged by other committers) and given that PRs are automatically assigned but never addressed, it's better just to reset all the ports and PRs so that it's clear to others that these ports are free to maintain. Approved by: portmgr (implicit)
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# Created by: chinsan <chinsan.tw@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= epdfview
|
|
PORTVERSION= 0.1.8
|
|
PORTREVISION= 6
|
|
CATEGORIES= graphics print gnome
|
|
MASTER_SITES= http://trac.emma-soft.com/epdfview/chrome/site/releases/ \
|
|
http://mirror.slitaz.org/sources/packages/e/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Lightweight PDF document viewer
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= cppunit-config:${PORTSDIR}/devel/cppunit
|
|
LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
USES= desktop-file-utils iconv gmake pkgconfig tar:bzip2
|
|
USE_GNOME= gtk20 intlhack
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= CUPS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
CUPS_CONFIGURE_WITH= cups
|
|
CUPS_LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client
|
|
|
|
NLS_USES= gettext
|
|
NLS_CPPFLAGS= -I${LOCALBASE}/include
|
|
NLS_LDFLAGS= -L${LOCALBASE}/lib
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
|
|
${WRKSRC}/src/gtk/StockIcons.h
|
|
|
|
post-install:
|
|
${REINPLACE_CMD} -e 's,Icon.*,Icon=${DATADIR}/pixmaps/icon_epdfview-48.png,' ${WRKSRC}/data/${PORTNAME}.desktop
|
|
${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
|
|
|
.include <bsd.port.mk>
|