Properly install localized man pages.

This commit is contained in:
ajacoutot 2012-09-04 16:06:29 +00:00
parent dca85aedb5
commit aa79126617
2 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.89 2012/06/15 08:32:16 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.90 2012/09/04 16:06:29 ajacoutot Exp $
SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT= technical diagrams drawing tool
GNOME_PROJECT= dia
GNOME_VERSION= 0.97.2
REVISION= 2
REVISION= 3
CATEGORIES= graphics
@ -53,4 +53,8 @@ CONFIGURE_ARGS= --disable-static \
--disable-libemf \
--disable-gnome
post-install:
mv ${PREFIX}/share/man/fr ${PREFIX}/man
rmdir ${PREFIX}/share/man/ ${PREFIX}/share/oaf/
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.26 2012/06/15 08:32:16 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.27 2012/09/04 16:06:29 ajacoutot Exp $
@pkgpath graphics/dia,gnome
@bin bin/dia
lib/dia/
@ -70,6 +70,9 @@ lib/dia/libwpg_filter.so
lib/dia/libxfig_filter.so
@comment lib/dia/libxslt_filter.la
lib/dia/libxslt_filter.so
man/fr/
man/fr/man1/
@man man/fr/man1/dia.1
@man man/man1/dia.1
share/applications/dia.desktop
share/dia/
@ -1833,14 +1836,9 @@ share/locale/vi/LC_MESSAGES/dia.mo
share/locale/zh_CN/LC_MESSAGES/dia.mo
share/locale/zh_HK/LC_MESSAGES/dia.mo
share/locale/zh_TW/LC_MESSAGES/dia.mo
@comment share/man/
@comment share/man/fr/
@comment share/man/fr/man1/
@comment @man share/man/fr/man1/dia.1
share/mime-info/
share/mime-info/dia.keys
share/mime-info/dia.mime
@comment share/oaf/
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database
@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor