diff options
author | pav <pav@FreeBSD.org> | 2003-12-04 18:42:51 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2003-12-04 18:42:51 +0800 |
commit | 02ee239b9568d4f83700a0975d975170db02e9e9 (patch) | |
tree | d538c85f8c4366bb9fb98c219679e0ac3d4cb464 /multimedia | |
parent | 8d526c8772b3d45cbd762ecd7393f69ced10b6e5 (diff) | |
download | freebsd-ports-gnome-02ee239b9568d4f83700a0975d975170db02e9e9.tar.gz freebsd-ports-gnome-02ee239b9568d4f83700a0975d975170db02e9e9.tar.zst freebsd-ports-gnome-02ee239b9568d4f83700a0975d975170db02e9e9.zip |
- Add WITH_ENCODING_PATCH knob which allows russian fonts
PR: ports/59076
Submitted by: oleg dashevskii <be9-ml@be9.ru>
Approved by: maintainer
Approved by: adamw (mentor)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xmms/Makefile | 12 | ||||
-rw-r--r-- | multimedia/xmms/distinfo | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile index 808e9df7be58..ce99d36ece5a 100644 --- a/multimedia/xmms/Makefile +++ b/multimedia/xmms/Makefile @@ -12,6 +12,7 @@ CATEGORIES+= multimedia audio ipv6 MASTER_SITES= ftp://ftp.xmms.org/pub/xmms/1.2.x/ \ http://www.xmms.org/files/1.2.x/ \ ftp://ftp.sunet.se/pub/multimedia/xmms/1.2.x/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER?= esk@ira.uka.de COMMENT?= X Multimedia System --- An audio player with a Winamp GUI @@ -43,6 +44,14 @@ PLIST_SUB= DATADIR="share" CONFIGURE_ARGS+= --enable-ipv6 +.if defined(WITH_ENCODING_PATCH) +ENC_PATCHLEVEL= 22.2 +DISTFILES+= ${PORTNAME}-${PORTVERSION}-recode-csa${ENC_PATCHLEVEL}${EXTRACT_SUFX}:enc +MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:S/$/:enc/} +#MASTER_SITE_SUBDIR+= rusxmms:enc ## Does not work +_MASTER_SITE_SUBDIR_enc= rusxmms +.endif + .if !defined(WITHOUT_MIKMOD) LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod INPUT_PLUGINS+= mikmod @@ -111,6 +120,9 @@ pre-extract: .endif post-patch: +.if defined(WITH_ENCODING_PATCH) + @${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/xmms-ds-recode.patch +.endif @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|\(datadir\)/aclocal|(prefix)/share/aclocal|g' @${REINPLACE_CMD} -e 's|{datadir}/locale|{prefix}/share/locale|g' \ diff --git a/multimedia/xmms/distinfo b/multimedia/xmms/distinfo index 7cd886a2f951..25341929782d 100644 --- a/multimedia/xmms/distinfo +++ b/multimedia/xmms/distinfo @@ -1 +1,2 @@ MD5 (xmms-1.2.8.tar.bz2) = d523735b59232f0eedd45dc2b7a4f5ad +MD5 (xmms-1.2.8-recode-csa22.2.tar.bz2) = c312257adb8d05d4f597a0c8c8c8d40e |