From 5e0a3a9c6501ff98a7f9a2a38cf0fd8836f0b131 Mon Sep 17 00:00:00 2001 From: Ade Lovett Date: Sun, 18 Nov 2007 22:37:50 +0000 Subject: Replace remaining hardcoded instances of /usr/bin/makeinfo with makeinfo as part of some cleanup work. Approved by: portmgr (linimon) --- x11/xnee/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'x11/xnee') diff --git a/x11/xnee/Makefile b/x11/xnee/Makefile index c57821658063..41430ac681bb 100644 --- a/x11/xnee/Makefile +++ b/x11/xnee/Makefile @@ -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} -- cgit v1.2.3