aboutsummaryrefslogtreecommitdiff
path: root/x11/trayer
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2012-06-11 19:59:53 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2012-06-11 19:59:53 +0000
commit4e45cd8c6aca53a1b9828227b31bc7825b003220 (patch)
tree10ca4e5cf5a24723de4dfa516d01610e868ee054 /x11/trayer
parentdd29c39e3a2936fa10c3ae24bee624ef29e79b4b (diff)
downloadports-4e45cd8c6aca53a1b9828227b31bc7825b003220.tar.gz
ports-4e45cd8c6aca53a1b9828227b31bc7825b003220.zip
- Merge with x11/trayer-srg
- Update to 1.1.5 - Also install man page - Convert NOPORTDOCS check to new options framework - Update homepage and master site Approved by: crees, tabthorpe (mentors)
Notes
Notes: svn path=/head/; revision=299072
Diffstat (limited to 'x11/trayer')
-rw-r--r--x11/trayer/Makefile27
-rw-r--r--x11/trayer/distinfo4
-rw-r--r--x11/trayer/pkg-descr2
3 files changed, 14 insertions, 19 deletions
diff --git a/x11/trayer/Makefile b/x11/trayer/Makefile
index 582acfeaea33..fcbb7b0f5cfd 100644
--- a/x11/trayer/Makefile
+++ b/x11/trayer/Makefile
@@ -6,39 +6,34 @@
#
PORTNAME= trayer
-PORTVERSION= 1.1.1
-PORTREVISION= 1
+PORTVERSION= 1.1.5
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/t/trayer
-DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
+MASTER_SITES= http://github.com/sargon/${PORTNAME}-srg/tarball/${PORTNAME}-${PORTVERSION}/
+DISTNAME= sargon-${PORTNAME}-srg-${PORTNAME}-${PORTVERSION}-${GITVERSION}
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Lightweight GTK2-based systray for UNIX desktop
-CONFLICTS_INSTALL= trayer-srg-[0-9]*
-
+GITVERSION= 0-g5353f80
+FETCH_ARGS= -pRr
USE_GNOME= gtk20 glib20 pango atk
USE_ICONV= yes
USE_XORG= xmu
USE_GMAKE= yes
MAKE_ARGS= "PREFIX=${PREFIX}"
-MAKE_JOBS_UNSAFE= yes
-#WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-WRKSRC= ${WRKDIR}/sargon-${PORTNAME}-srg-82d5d05/
+MAKE_JOBS_SAFE= yes
+WRKSRC= ${WRKDIR}/sargon-${PORTNAME}-srg-${GITVERSION:S/^0-g//}
-.if !defined(NOPORTDOCS)
PORTDOCS= README CREDITS CHANGELOG
-.endif
+MAN1= trayer.1
PLIST_FILES= bin/trayer
-post-patch:
- @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
- ${WRKSRC}/Makefile.common
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTDOCS)
+ ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
diff --git a/x11/trayer/distinfo b/x11/trayer/distinfo
index f0e152984c0b..1de145976d3d 100644
--- a/x11/trayer/distinfo
+++ b/x11/trayer/distinfo
@@ -1,2 +1,2 @@
-SHA256 (trayer_1.1.1.orig.tar.gz) = 94121f2c69d18e074982c6c2b808879076d0034fa70a144adf5d5dcb2b3c60eb
-SIZE (trayer_1.1.1.orig.tar.gz) = 24645
+SHA256 (sargon-trayer-srg-trayer-1.1.5-0-g5353f80.tar.gz) = 98804500188c0bb99c7389ebea4b2e4dfffa2f3d06dc97e633b4934cf7c29757
+SIZE (sargon-trayer-srg-trayer-1.1.5-0-g5353f80.tar.gz) = 27322
diff --git a/x11/trayer/pkg-descr b/x11/trayer/pkg-descr
index bfe41bd51b03..1a6f4e4b6297 100644
--- a/x11/trayer/pkg-descr
+++ b/x11/trayer/pkg-descr
@@ -6,4 +6,4 @@ and `docker'.
Trayer code was extracted from fbpanel, lightweight X11 desktop panel (port
`x11/fbpanel' also available). You can find more about it on its homepage.
-WWW: http://fbpanel.sourceforge.net/
+WWW: http://github.com/sargon/trayer-srg