From 27f8d3e59b0735c16ce53f49f4925707aa207342 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Wed, 21 May 2008 20:20:34 +0000 Subject: [PATCH] Fix plist when NOPORTDOCS is set. Notified by: itetcu --- science/v_sim/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/science/v_sim/Makefile b/science/v_sim/Makefile index 4e1de2109c8d..8855411cf434 100644 --- a/science/v_sim/Makefile +++ b/science/v_sim/Makefile @@ -21,7 +21,9 @@ CONFIGURE_ARGS= --disable-gtk-doc CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +.if !defined(NOPORTDOCS) MAN1= v_sim.1 +.endif .if defined(WITHOUT_NLS) PLIST_SUB+= NLS="@comment " @@ -56,11 +58,11 @@ pre-configure: ${REINPLACE_CMD} -e 's|-pedantic-errors||' \ ${WRKSRC}/src/extraGtkFunctions/Makefile.in .if defined(WITHOUT_NLS) - ${REINPLACE_CMD} -e 's|etc po Documentation|etc Documentation|' \ + ${REINPLACE_CMD} -e 's| po ||' \ ${WRKSRC}/Makefile.in .endif .if defined(NOPORTDOCS) - ${REINPLACE_CMD} -e 's|Documentation pixmaps examples|pixmaps|' \ + ${REINPLACE_CMD} -e 's|Documentation||;s|pixmaps \\|pixmaps|;s|examples$$||' \ ${WRKSRC}/Makefile.in .endif