aboutsummaryrefslogtreecommitdiffstats
path: root/audio/yamt
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2002-09-10 01:21:35 +0800
committerdemon <demon@FreeBSD.org>2002-09-10 01:21:35 +0800
commitb9a37a0764b1e021e6441c62fb89caa54c15f20e (patch)
tree8e3a9a480e063243d938d3499b5b6c9b533941dd /audio/yamt
parent032f6f55a6f383df2ed154abd1510a1c0893329b (diff)
downloadfreebsd-ports-gnome-b9a37a0764b1e021e6441c62fb89caa54c15f20e.tar.gz
freebsd-ports-gnome-b9a37a0764b1e021e6441c62fb89caa54c15f20e.tar.zst
freebsd-ports-gnome-b9a37a0764b1e021e6441c62fb89caa54c15f20e.zip
- USE_GNOMENG
- PERL -> REINPLACE_CMD - Fix build, by removing bogus characters from ja.po Submitted by: Tilman Linneweh <tilman@arved.de>
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"