aboutsummaryrefslogtreecommitdiff
path: root/misc/pdmenu/files
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/pdmenu/files
parentf2ed8ced5a918a9723f36683e2d536ec460ac178 (diff)
downloadports-15f76bf509830ff663eb54b24d59e05d410c0a3c.tar.gz
ports-15f76bf509830ff663eb54b24d59e05d410c0a3c.zip
Notes
Diffstat (limited to 'misc/pdmenu/files')
-rw-r--r--misc/pdmenu/files/patch-ad21
1 files changed, 17 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