aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-01-14 23:10:41 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-01-14 23:10:41 +0000
commit15f76bf509830ff663eb54b24d59e05d410c0a3c (patch)
treed9de4bc25dd0b9be8b59bddfdc54bad436b514ae /misc
parentf2ed8ced5a918a9723f36683e2d536ec460ac178 (diff)
downloadports-15f76bf509830ff663eb54b24d59e05d410c0a3c.tar.gz
ports-15f76bf509830ff663eb54b24d59e05d410c0a3c.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/pdmenu/files/patch-ad21
-rw-r--r--misc/pdmenu/pkg-plist1
2 files changed, 18 insertions, 4 deletions
diff --git a/misc/pdmenu/files/patch-ad b/misc/pdmenu/files/patch-ad
index d5a368d79274..cc258cabf9bf 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 3a40fb299a9e..4565f2e6b432 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%%