freebsd-ports/x11/trayer/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

39 lines
886 B
Makefile

# Created by: Alexey Mikhailov <karma@ez.pereslavl.ru>
# $FreeBSD$
PORTNAME= trayer
PORTVERSION= 1.1.8
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= x11
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Lightweight GTK2-based systray for UNIX desktop
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= iconv gmake pkgconfig
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango
USE_GITHUB= yes
USE_XORG= x11 xmu
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix="${PREFIX}"
GH_ACCOUNT= sargon
GH_PROJECT= ${PORTNAME}-srg
PORTDOCS= README CREDITS CHANGELOG
PLIST_FILES= bin/trayer man/man1/trayer.1.gz
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>