freebsd-ports/graphics/viewnior/Makefile
Rusmir Dusko 474ce0fa3d Announce message:
Add switch to disable wallpaper functionality
 Fix nitrogen wallpaper
 Position preferences menu on the left of the button

- Change Makefile header, use my name and @FreeBSD.org email
- Bump PORTREVISION for recreate tarball, new GH_COMMIT
- Remove ChangeLog-20090517 from DOCS
- Change pkg-descr, change WWW
- Change pkg-plist, remove mtree
2014-08-04 05:44:43 +00:00

54 lines
1.2 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= viewnior
PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= graphics
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Fast and simple image viewer
LICENSE= GPLv3
BUILD_DEPENDS= gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \
p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2
USE_GITHUB= yes
GH_ACCOUNT= xsisqox
GH_PROJECT= Viewnior
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= fc0f5cb
USES= desktop-file-utils gmake pkgconfig
USE_GNOME= glib20 gtk20
USE_AUTOTOOLS= aclocal autoheader automake autoconf libtoolize
AUTOMAKE_ARGS= --add-missing --force
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
PORTDOCS= AUTHORS NEWS README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|$$(prefix)/$$(DATADIRNAME)/locale|$$(datarootdir)/locale|' \
${WRKSRC}/po/Makefile.in.in
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e 's|install: install-data|install:|' \
${WRKSRC}/po/Makefile.in.in
.endif
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>