diff options
author | krion <krion@FreeBSD.org> | 2005-01-15 07:10:41 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-01-15 07:10:41 +0800 |
commit | 9d2b58767e8755b82207371eb413f476b1908128 (patch) | |
tree | 78ca7202bd58412dfcda900640566c02e4575279 /misc/pdmenu | |
parent | 27c879f26936da67648dab5bf978a3355d6d43fd (diff) | |
download | freebsd-ports-graphics-9d2b58767e8755b82207371eb413f476b1908128.tar.gz freebsd-ports-graphics-9d2b58767e8755b82207371eb413f476b1908128.tar.zst freebsd-ports-graphics-9d2b58767e8755b82207371eb413f476b1908128.zip |
Fix plist.
Diffstat (limited to 'misc/pdmenu')
-rw-r--r-- | misc/pdmenu/files/patch-ad | 21 | ||||
-rw-r--r-- | misc/pdmenu/pkg-plist | 1 |
2 files changed, 18 insertions, 4 deletions
diff --git a/misc/pdmenu/files/patch-ad b/misc/pdmenu/files/patch-ad index d5a368d7927..cc258cabf9b 100644 --- a/misc/pdmenu/files/patch-ad +++ b/misc/pdmenu/files/patch-ad @@ -1,7 +1,10 @@ ---- Makefile.orig Tue Aug 19 20:22:23 2003 -+++ Makefile Tue Aug 19 20:22:35 2003 -@@ -11,7 +11,7 @@ - $(SRCDIR)/window.o $(SRCDIR)/error.o $(SRCDIR)/pdgetline.o + +$FreeBSD$ + +--- Makefile.orig ++++ Makefile +@@ -13,7 +13,7 @@ + include makeinfo pdmenu: .dep $(OBJFILES) - ${CC} -o pdmenu $(OBJFILES) $(CFLAGS) $(LIBS) @@ -9,3 +12,13 @@ depend: .dep dep: .dep +@@ -57,8 +57,7 @@ + $(INSTALL) examples/showdir.pl $(INSTALL_PREFIX)/$(DATADIR)/pdmenu + cd $(INSTALL_PREFIX)/$(DATADIR)/pdmenu && $(LN_S) -f showdir.pl editdir.pl + for lang in $(LANGS); do \ +- [ ! -d $(LOCALEDIR)/$$lang/LC_MESSAGES/ ] && mkdir -p $(LOCALEDIR)/$$lang/LC_MESSAGES/; \ +- install -m 644 po/$$lang.mo $(LOCALEDIR)/$$lang/LC_MESSAGES/pdmenu.mo; \ ++ install -m 644 po/$$lang.mo $(PREFIX)/share/locale/$$lang/LC_MESSAGES/pdmenu.mo; \ + done + + test: pdmenu diff --git a/misc/pdmenu/pkg-plist b/misc/pdmenu/pkg-plist index 3a40fb299a9..4565f2e6b43 100644 --- a/misc/pdmenu/pkg-plist +++ b/misc/pdmenu/pkg-plist @@ -1,5 +1,6 @@ bin/pdmenu etc/pdmenurc +share/locale/fr/LC_MESSAGES/pdmenu.mo %%DATADIR%%/editdir.pl %%DATADIR%%/showdir.pl @dirrm %%DATADIR%% |