aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/libcdio
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2009-11-08 07:58:37 +0800
committerarved <arved@FreeBSD.org>2009-11-08 07:58:37 +0800
commit846070b36102cbacffd3d360abc31a109e322134 (patch)
treef5b9f3533bf29c18b7e03c8612cbf2f144dafee8 /sysutils/libcdio
parent2c89eff58a9cdb4c03229ff63e862d04082d9187 (diff)
downloadfreebsd-ports-graphics-846070b36102cbacffd3d360abc31a109e322134.tar.gz
freebsd-ports-graphics-846070b36102cbacffd3d360abc31a109e322134.tar.zst
freebsd-ports-graphics-846070b36102cbacffd3d360abc31a109e322134.zip
- Add missing japanese manpage
PR: 136259 Submitted by: Hiroto Kagotani <hiroto.kagotani@gmail.com> - Grab back maintainership - Adjust configure regex for current versions of FreeBSD (8 and 9) - Bump PORTREVISION
Diffstat (limited to 'sysutils/libcdio')
-rw-r--r--sysutils/libcdio/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/sysutils/libcdio/Makefile b/sysutils/libcdio/Makefile
index ab481cec5bd..2f07f110bed 100644
--- a/sysutils/libcdio/Makefile
+++ b/sysutils/libcdio/Makefile
@@ -6,12 +6,12 @@
PORTNAME= libcdio
PORTVERSION= 0.78.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libcdio
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= arved@FreeBSD.org
COMMENT= Compact Disc Input and Control Library
LIB_DEPENDS= cddb.4:${PORTSDIR}/audio/libcddb \
@@ -36,6 +36,7 @@ OPTIONS= PARANOIA "Support for accessing audio via CD Paranoia" on
.ifdef(WITH_PARANOIA)
LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
PLIST_SUB+= PARANOIA=""
+MANLANG= "" ja
MAN1= cd-paranoia.1
.else
CONFIGURE_ARGS+= --without-cd-paranoia
@@ -43,10 +44,13 @@ PLIST_SUB+= PARANOIA="@comment "
.endif
post-patch:
-.ifndef(WITH_PARANOIA)
+.ifdef(WITH_PARANOIA)
+ ${REINPLACE_CMD} -e 's|/jp/man1|/ja/man1|' \
+ ${WRKSRC}/src/cd-paranoia/doc/jp/Makefile.in
+.else
${REINPLACE_CMD} -e 's|libcdio_paranoia.pc||; s|libcdio_cdda.pc||' \
${WRKSRC}/Makefile.in
.endif
- ${REINPLACE_CMD} -e "s,freebsd5\.\*,freebsd5\.\*|freebsd6\.\*|freebsd7\.\*," ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s,freebsd5\.\*,freebsd*," ${WRKSRC}/configure
.include <bsd.port.post.mk>