aboutsummaryrefslogtreecommitdiff
path: root/audio/yamt
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2002-09-09 17:21:35 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2002-09-09 17:21:35 +0000
commit626502cecf0899df99d675061d0cbdebf2b72b3f (patch)
tree3a017ff0800f5e4905448a4c588ba2584973f978 /audio/yamt
parent129973ade5a77a18c3834c20572506be4ac5e021 (diff)
downloadports-626502cecf0899df99d675061d0cbdebf2b72b3f.tar.gz
ports-626502cecf0899df99d675061d0cbdebf2b72b3f.zip
- USE_GNOMENG
- PERL -> REINPLACE_CMD - Fix build, by removing bogus characters from ja.po Submitted by: Tilman Linneweh <tilman@arved.de>
Notes
Notes: svn path=/head/; revision=65925
Diffstat (limited to 'audio/yamt')
-rw-r--r--audio/yamt/Makefile11
-rw-r--r--audio/yamt/files/patch-po-ja.po13
2 files changed, 18 insertions, 6 deletions
diff --git a/audio/yamt/Makefile b/audio/yamt/Makefile
index 70a9de10571d..78016794600d 100644
--- a/audio/yamt/Makefile
+++ b/audio/yamt/Makefile
@@ -16,18 +16,17 @@ MAINTAINER= demon@FreeBSD.org
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomelibs gnomehack gnomeprefix
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
- s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
.include <bsd.port.mk>
diff --git a/audio/yamt/files/patch-po-ja.po b/audio/yamt/files/patch-po-ja.po
new file mode 100644
index 000000000000..887905613792
--- /dev/null
+++ b/audio/yamt/files/patch-po-ja.po
@@ -0,0 +1,13 @@
+--- po/ja.po.orig Sun Sep 8 23:20:05 2002
++++ po/ja.po Sun Sep 8 23:20:10 2002
+@@ -827,8 +827,8 @@
+ #~ "Then it deletes all directories."
+ #~ msgstr ""
+ #~ "¤³¤Îµ¡Ç½¤ÏʬÎൡǽ¤ÎÃúÅÙÈ¿ÂФò¹Ô¤¦:\n"
+-#~ "¸µ¤Î¥Ç¥£¥ì¥¯¥È¥ê¡¼(³î¤Ä»Ò¥Ç¥£¥ì¥¯¥È¥ê¡¼)Æâ¤ÎÁ´¥Õ¥¡¥¤¥ë¤Ï°¸Àè¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë°"
+-#~ "ܤµ¤ì¤ë.\n"
++#~ "¸µ¤Î¥Ç¥£¥ì¥¯¥È¥ê¡¼(³î¤Ä»Ò¥Ç¥£¥ì¥¯¥È¥ê¡¼)Æâ¤ÎÁ´¥Õ¥¡¥¤¥ë¤Ï°¸Àè¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë"
++#~ "ܤµ¤ì¤.\n"
+ #~ "¤½¤ì¤«¤éÁ´¥Ç¥£¥ì¥¯¥È¥ê¡¼¤òºï½ü¤¹¤ë."
+
+ #~ msgid "Find"