* use gettext MODULE instead of iconv/intl in WANTLIB

* tweak the way we install examples so update-plist does not whine
* remove useless use of gtk-update-icon-cache goo
* regen WANTLIB while here

ok edd@ (maintainer)
This commit is contained in:
ajacoutot 2010-12-14 11:07:31 +00:00
parent 1abd8d2260
commit 7390cdf3c8
2 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2010/11/22 10:16:09 espie Exp $
# $OpenBSD: Makefile,v 1.18 2010/12/14 11:07:31 ajacoutot Exp $
ONLY_FOR_ARCHS= ${APM_ARCHS}
@ -7,7 +7,7 @@ COMMENT= lightweight freedesktop-compliant panel/taskbar/clock
DISTNAME= tint2-0.11
EXTRACT_SUFX= .tar.bz2
PKGNAME= tint-0.11
REVISION= 2
REVISION= 3
CATEGORIES= x11
HOMEPAGE= http://code.google.com/p/tint2/
@ -24,9 +24,9 @@ WANTLIB= Imlib2>=2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat \
fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 \
glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 \
gtk-x11-2.0 iconv intl m pango-1.0 pangocairo-1.0 \
gtk-x11-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pixman-1 png pthread pthread-stubs xcb \
xcb-render xcb-render-util z
xcb-render z GL Xxf86vm drm xcb-shm
MASTER_SITES= http://tint2.googlecode.com/files/
@ -36,7 +36,7 @@ LIB_DEPENDS= graphics/imlib2 \
RUN_DEPENDS= x11/py-gtk2 \
devel/desktop-file-utils
MODULES= devel/cmake lang/python
MODULES= devel/cmake lang/python devel/gettext
USE_GMAKE= Yes
USE_GROFF = Yes
@ -50,7 +50,7 @@ pre-configure:
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tint2/
@mv ${WRKINST}/${SYSCONFDIR}/xdg/tint2/tint2rc \
@mv ${WRKINST}/${SYSCONFDIR}/xdg/ \
${PREFIX}/share/examples/tint2/
.include <bsd.port.mk>

View File

@ -1,24 +1,24 @@
@comment $OpenBSD: PLIST,v 1.3 2010/06/15 10:10:06 edd Exp $
@comment $OpenBSD: PLIST,v 1.4 2010/12/14 11:07:31 ajacoutot Exp $
@bin bin/tint2
@bin bin/tint2conf
bin/tintwizard.py
@man man/man1/tint2.1
share/applications/tint2conf.desktop
share/doc/tint2/
@sample ${SYSCONFDIR}/xdg/
@sample ${SYSCONFDIR}/xdg/tint2/
share/doc/tint2/AUTHORS
share/doc/tint2/ChangeLog
share/doc/tint2/README
share/examples/tint2/
share/examples/tint2/tint2rc
share/examples/tint2/xdg/
@sample ${SYSCONFDIR}/xdg/
share/examples/tint2/xdg/tint2/
@sample ${SYSCONFDIR}/xdg/tint2/
share/examples/tint2/xdg/tint2/tint2rc
@sample ${SYSCONFDIR}/xdg/tint2/tint2rc
share/pixmaps/
share/pixmaps/tint2conf.png
share/pixmaps/tint2conf.svg
share/tint2/
share/tint2/default_icon.png
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@unexec-delete %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database