From f935a609c53c5c6031e6848db95c7debed127e27 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Mon, 23 Jul 2007 09:36:51 +0000 Subject: - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run --- finance/grisbi/Makefile | 1 - finance/ktoblzcheck/Makefile | 1 - finance/quantlib/Makefile | 1 - 3 files changed, 3 deletions(-) (limited to 'finance') diff --git a/finance/grisbi/Makefile b/finance/grisbi/Makefile index b23ecd535ab8..5a09498db9bb 100644 --- a/finance/grisbi/Makefile +++ b/finance/grisbi/Makefile @@ -44,7 +44,6 @@ PLIST_SUB+= NLS="" .endif pre-configure: - @${REINPLACE_CMD} -e "/^mandir=/s|datarootdir|prefix|" ${WRKSRC}/configure .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e "s|pixmaps help|pixmaps|" ${WRKSRC}/Makefile.in .endif diff --git a/finance/ktoblzcheck/Makefile b/finance/ktoblzcheck/Makefile index c60c2cf8f789..241abba894db 100644 --- a/finance/ktoblzcheck/Makefile +++ b/finance/ktoblzcheck/Makefile @@ -18,7 +18,6 @@ USE_GNOME= gnomehack gnometarget pkgconfig USE_PYTHON= 2.3+ USE_GMAKE= yes USE_AUTOTOOLS= libtool:15 -CONFIGURE_ARGS= --mandir=${MANPREFIX}/man USE_LDCONFIG= yes MAN1= ktoblzcheck.1 diff --git a/finance/quantlib/Makefile b/finance/quantlib/Makefile index ae90ae94a8b7..63c1c17e188e 100644 --- a/finance/quantlib/Makefile +++ b/finance/quantlib/Makefile @@ -24,7 +24,6 @@ WRKSRC= ${WRKDIR}/QuantLib-${PORTVERSION} USE_AUTOTOOLS= libtool:15 GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --mandir=${PREFIX}/man CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" USE_LDCONFIG= yes -- cgit v1.2.3