1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Utilize INFO variable.

This commit is contained in:
Dmitry Sivachenko 2003-08-13 07:23:29 +00:00
parent 04d34a6aed
commit a2e1fc4ddc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86872
2 changed files with 2 additions and 10 deletions

View File

@ -26,6 +26,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= recode.1
INFO= recode
post-extract: copy-po-files remove-info-files
@ -35,9 +36,7 @@ copy-po-files:
remove-info-files:
@${RM} -f ${WRKSRC}/doc/${PORTNAME}.info*
post-patch: patch-po-files patch-makeinfo
patch-po-files:
post-patch:
@${PERL} -pi -e '\
if (/Project-Id-Version/) { \
s/3\.[45](r|\.[0-9])?/3.6/; \
@ -45,8 +44,4 @@ patch-po-files:
} \
' ${WRKSRC}/i18n/*.po
patch-makeinfo:
@${REINPLACE_CMD} -e 's|\@MAKEINFO\@|\@MAKEINFO\@ --no-split|g' \
${WRKSRC}/doc/Makefile.in
.include <bsd.port.mk>

View File

@ -2,9 +2,6 @@
bin/recode
include/recode.h
include/recodext.h
@unexec install-info --delete %D/info/recode.info %D/info/dir
info/recode.info
@exec install-info %D/info/recode.info %D/info/dir
lib/librecode.a
lib/librecode.so
lib/librecode.so.3