Index: x11/Makefile =================================================================== --- x11/Makefile +++ x11/Makefile @@ -284,6 +284,7 @@ SUBDIR += thingylaunch SUBDIR += tilda SUBDIR += tint + SUBDIR += tint-devel SUBDIR += tkXwin SUBDIR += trapproto SUBDIR += trayer Index: x11/tint-devel/Makefile =================================================================== --- /dev/null +++ x11/tint-devel/Makefile @@ -0,0 +1,76 @@ +# $FreeBSD$ + +PORTNAME= tint2 +PORTVERSION= 2.00.${SVNREVISION:C/r//} +CATEGORIES= x11 +MASTER_SITES= http://deponie.yamagi.org/freebsd/distfiles/tint/ +PKGNAMESUFFIX= -devel +DISTNAME= tint2-devel-${SVNREVISION} + +MAINTAINER= yamagi@yamagi.org +COMMENT= Lightweight freedesktop-compliant panel (development version) + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo \ + libImlib2.so:${PORTSDIR}/graphics/imlib2 \ + librsvg-2.so:${PORTSDIR}/graphics/librsvg2 + +CONFLICTS= tint2-[0-9]* + +USES= alias cmake pkgconfig tar:xz +USE_GNOME= pango glib20 +USE_XORG= xinerama xrandr xdamage xcomposite + +CMAKE_ARGS= -DENABLE_BATTERY:BOOL=ON -DMANDIR:PATH=man + +OPTIONS_DEFINE= PYCONF DOCS EXAMPLES +OPTIONS_DEFAULT= PYCONF +OPTIONS_SUB= yes +PYCONF_DESC= Configuration editing tool (req. python) + +SVNREVISION= r727 + +PORTEXAMPLES= icon_and_text_1.tint2rc icon_and_text_2.tint2rc \ + icon_and_text_3.tint2rc icon_and_text_4.tint2rc \ + icon_only_1.tint2rc icon_only_2.tint2rc icon_only_3.tint2rc \ + icon_only_4.tint2rc icon_only_6.tint2rc icon_only_7.tint2rc \ + text_only_1.tint2rc text_only_2.tint2rc text_only_3.tint2rc \ + text_only_4.tint2rc text_only_5.tint2rc text_only_6.tint2rc tint2rc +PORTDOCS= AUTHORS ChangeLog README + +PYCONF_LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification +PYCONF_USES= python +PYCONF_USE= gnome:gtk20,pygtk2 +PYCONF_CMAKE_ON= -DENABLE_TINT2CONF:BOOL=ON +PYCONF_CMAKE_OFF= -DENABLE_TINT2CONF:BOOL=OFF +OPTIONS_SUB= yes + +.include + +.if ${PORT_OPTIONS:MPYCONF} +PYCONF_SRC= ${WRKSRC}/src/tint2conf + +post-patch: + @${MV} ${PYCONF_SRC}/tintwizard.py ${PYCONF_SRC}/tintwizard.py.Dist + @${SED} -e 's#pidof#pgrep#g' ${PYCONF_SRC}/tintwizard.py.Dist \ + > ${PYCONF_SRC}/tintwizard.py +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tint2 ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${PREFIX}/share/tint2-devel + ${INSTALL_DATA} ${WRKSRC}/default_icon.png ${STAGEDIR}${PREFIX}/share/tint2-devel + ${INSTALL_MAN} ${WRKSRC}/doc/tint2.1 ${STAGEDIR}${MANPREFIX}/man/man1 +.if ${PORT_OPTIONS:MPYCONF} + ${INSTALL_PROGRAM} ${PYCONF_SRC}/tint2conf ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${PYCONF_SRC}/tintwizard.py ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${PYCONF_SRC}/tint2conf.desktop ${STAGEDIR}${PREFIX}/share/applications +.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/sample/|} ${STAGEDIR}${EXAMPLESDIR} + +.include Index: x11/tint-devel/distinfo =================================================================== --- /dev/null +++ x11/tint-devel/distinfo @@ -0,0 +1,2 @@ +SHA256 (tint2-devel-r727.tar.xz) = 7e2e3d234af3b5a1b34d44e087cc6377acb6b93765114d91c11308b51b14f73a +SIZE (tint2-devel-r727.tar.xz) = 120604 Index: x11/tint-devel/pkg-descr =================================================================== --- /dev/null +++ x11/tint-devel/pkg-descr @@ -0,0 +1,18 @@ +Tint is a simple panel/taskbar/systray intentionally made for openbox3, +but should also work with other window managers. The goal is to keep a +clean and unintrusive look with lightweight code and compliance with +freedesktop specifications. + +Tint taskbar features + * color/transparency on font, icon, border and background + * customize mouse event + * drag and drop task between desktop and switch desktop + +Tint panel features + * clock with font, color and transparency + * multi-monitor : panel position adjust to monitor, taskbar by monitor + +This is the development version. It has some cool new features, but also +may have some bugs. + +WWW: http://code.google.com/p/tint2/ Index: x11/tint-devel/pkg-plist =================================================================== --- /dev/null +++ x11/tint-devel/pkg-plist @@ -0,0 +1,6 @@ +bin/tint2 +man/man1/tint2.1.gz +%%PYCONF%%bin/tint2conf +%%PYCONF%%bin/tintwizard.py +%%PYCONF%%share/applications/tint2conf.desktop +%%DATADIR%%-devel/default_icon.png