mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Replace remaining hardcoded instances of /usr/bin/makeinfo with makeinfo
as part of some cleanup work. Approved by: portmgr (linimon)
This commit is contained in:
parent
b7ec99dc58
commit
5e0a3a9c65
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202757
@ -14,7 +14,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Miscellaneous C programmer's utilities
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
MAKE_ENV= MAKEINFO=/usr/bin/makeinfo
|
||||
MAKE_ENV= MAKEINFO=makeinfo
|
||||
MAN1= cdecl.1 chilight.1 cobfusc.1 cundecl.1 cunloop.1 yyextract.1 \
|
||||
yyref.1
|
||||
INFO= cutils
|
||||
|
@ -29,7 +29,7 @@ PLIST_SUB= NLS=""
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB= NLS="@comment "
|
||||
.endif
|
||||
CONFIGURE_ENV+= MAKEINFO="/usr/bin/makeinfo --no-split"
|
||||
CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
|
||||
|
||||
MAN1= gmake.1
|
||||
INFO= make
|
||||
|
@ -29,7 +29,7 @@ PLIST_SUB= NLS=""
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB= NLS="@comment "
|
||||
.endif
|
||||
CONFIGURE_ENV+= MAKEINFO="/usr/bin/makeinfo --no-split"
|
||||
CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
|
||||
|
||||
MAN1= gmake.1
|
||||
INFO= make
|
||||
|
@ -18,7 +18,7 @@ LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV+= MAKEINFO="/usr/bin/makeinfo --no-split"
|
||||
CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
|
||||
USE_LDCONFIG= yes
|
||||
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
||||
|
||||
|
@ -123,7 +123,7 @@ pre-build:
|
||||
|
||||
post-build:
|
||||
.for file in sather-tutorial.texinfo sather-mode.texinfo sather.texinfo
|
||||
cd ${WRKSRC}/Emacs && /usr/bin/makeinfo --no-split ${file}
|
||||
cd ${WRKSRC}/Emacs && makeinfo --no-split ${file}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
|
@ -40,14 +40,7 @@ PLIST_DIRS= %%DATADIR%%/pixmaps %%DATADIR%%
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
|
||||
MAKEINFO= ${LOCALBASE}/bin/makeinfo
|
||||
.else
|
||||
MAKEINFO= /usr/bin/makeinfo
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
BUILD_DEPENDS+= ${MAKEINFO_CMD}:${PORTSDIR}/print/texinfo
|
||||
MAKEINFO_CMD= ${LOCALBASE}/bin/makeinfo
|
||||
.else
|
||||
MAKEINFO_CMD= /usr/bin/makeinfo
|
||||
MAKEINFO= makeinfo
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GNEE)
|
||||
@ -88,7 +81,7 @@ post-patch:
|
||||
's|cp $$(PNEE)|$$(INSTALL_PROGRAM) $$(PNEE)|g' ${WRKSRC}/pnee/src/Makefile.in
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC}/cnee/src && ${MAKEINFO_CMD} --no-split cnee.texi
|
||||
cd ${WRKSRC}/cnee/src && ${MAKEINFO} --no-split cnee.texi
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/cnee/src/cnee.info ${PREFIX}/${INFO_PATH}
|
||||
|
Loading…
Reference in New Issue
Block a user