freebsd-ports/x11/trayer/Makefile

37 lines
826 B
Makefile
Raw Normal View History

# Created by: Alexey Mikhailov <karma@ez.pereslavl.ru>
# $FreeBSD$
PORTNAME= trayer
2014-01-27 15:43:22 +01:00
PORTVERSION= 1.1.6
CATEGORIES= x11
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Lightweight GTK2-based systray for UNIX desktop
USE_GNOME= gtk20 glib20 pango atk
2014-01-27 15:43:22 +01:00
USE_GITHUB= yes
2013-09-04 23:09:33 +02:00
USES= iconv gmake pkgconfig
USE_XORG= xmu
MAKE_ARGS= "PREFIX=${PREFIX}"
2014-01-27 15:43:22 +01:00
GH_ACCOUNT= sargon
GH_PROJECT= ${PORTNAME}-srg
GH_COMMIT= 072566c
GH_TAGNAME= ${GH_COMMIT}
PORTDOCS= README CREDITS CHANGELOG
2013-09-29 12:49:03 +02:00
PLIST_FILES= bin/trayer man/man1/trayer.1.gz
2013-09-29 12:49:03 +02:00
post-patch:
@${REINPLACE_CMD} -e 's|$$(PREFIX)/|$$(DESTDIR)&|' ${WRKSRC}/Makefile
post-install:
2013-09-29 12:49:03 +02:00
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
2013-09-29 12:49:03 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>