mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
42d06a70e1
- USE_GITHUB
37 lines
826 B
Makefile
37 lines
826 B
Makefile
# Created by: Alexey Mikhailov <karma@ez.pereslavl.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= trayer
|
|
PORTVERSION= 1.1.6
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= Lightweight GTK2-based systray for UNIX desktop
|
|
|
|
USE_GNOME= gtk20 glib20 pango atk
|
|
USE_GITHUB= yes
|
|
USES= iconv gmake pkgconfig
|
|
USE_XORG= xmu
|
|
MAKE_ARGS= "PREFIX=${PREFIX}"
|
|
|
|
GH_ACCOUNT= sargon
|
|
GH_PROJECT= ${PORTNAME}-srg
|
|
GH_COMMIT= 072566c
|
|
GH_TAGNAME= ${GH_COMMIT}
|
|
|
|
PORTDOCS= README CREDITS CHANGELOG
|
|
|
|
PLIST_FILES= bin/trayer man/man1/trayer.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|$$(PREFIX)/|$$(DESTDIR)&|' ${WRKSRC}/Makefile
|
|
|
|
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>
|