aboutsummaryrefslogtreecommitdiff
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
parentf2ed8ced5a918a9723f36683e2d536ec460ac178 (diff)
downloadports-15f76bf509830ff663eb54b24d59e05d410c0a3c.tar.gz
ports-15f76bf509830ff663eb54b24d59e05d410c0a3c.zip
Notes
-rw-r--r--lang/fpc-devel/Makefile2
-rw-r--r--misc/pdmenu/files/patch-ad21
-rw-r--r--misc/pdmenu/pkg-plist1
3 files changed, 19 insertions, 5 deletions
diff --git a/lang/fpc-devel/Makefile b/lang/fpc-devel/Makefile
index 68eb9f6fc613..056df2c104d8 100644
--- a/lang/fpc-devel/Makefile
+++ b/lang/fpc-devel/Makefile
@@ -25,7 +25,7 @@ USE_BZIP2= yes
PLIST_SUB+= FPC_VERSION=${PORTVERSION}
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
-MAN1= delp.1 fpc.1 fpcmake.1 h2pas.1 plex.1 ppc386.1 ppdep.1 \
+MAN1= delp.1 fpc.1 fpcmake.1 fpdoc.1 h2pas.1 plex.1 ppc386.1 ppdep.1 \
ppudump.1 ppufiles.1 ppumove.1 ptop.1 pyacc.1 rstconv.1
MAN5= fpc.cfg.5 fpcmake.5 ptop.cfg.5
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%%