fancy features and clean up code. trayer is small program designed to provide systray functionality present in GNOME/KDE desktop enviroments for window managers which doesn't support that function. It's similar to other applications such as 'peksystray' and 'docker'. trayer code was extracted from fbpanel application, you can find more about it on it's homepage WWW: http://github.com/sargon/trayer-srg PR: ports/158128 Submitted by: Guido Falsi <mad at madpilot.net>
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# New ports collection makefile for: trayer-srg
|
|
# Date created: Jun 21, 2011
|
|
# Whom: Guido Falsi <mad@madpilot.net>
|
|
# Based on the x11/trayer port Makefile from Alexey Mikhailov <karma@ez.pereslavl.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= trayer
|
|
PORTVERSION= 1.1.1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://github.com/sargon/${PORTNAME}${PKGNAMESUFFIX}/tarball/${PORTNAME}-${PORTVERSION}/
|
|
PKGNAMESUFFIX= -srg
|
|
DISTNAME= sargon-${PORTNAME}${PKGNAMESUFFIX}-${PORTNAME}-${PORTVERSION}-${GITVERSION}
|
|
|
|
MAINTAINER= mad@madpilot.net
|
|
COMMENT= Lightweight GTK2-based systray for UNIX desktop - sargon fork
|
|
|
|
CONFLICTS_INSTALL= trayer-1.0*
|
|
GITVERSION= 0-g82d5d05
|
|
FETCH_ARGS= -pRr
|
|
WRKSRC= ${WRKDIR}/sargon-${PORTNAME}${PKGNAMESUFFIX}-${GITVERSION:S/^0-g//}
|
|
USE_GNOME= gtk20 glib20 pango atk
|
|
USE_ICONV= yes
|
|
USE_XORG= xmu
|
|
USE_GMAKE= yes
|
|
MAKE_ARGS= "PREFIX=${PREFIX}"
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= README CREDITS CHANGELOG
|
|
.endif
|
|
|
|
PLIST_FILES= bin/trayer
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
|
|
${WRKSRC}/Makefile.common
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|