diff options
author | thierry <thierry@FreeBSD.org> | 2008-05-22 04:20:34 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2008-05-22 04:20:34 +0800 |
commit | 27c8b24505dad7aeefb60813635285a8c63ab94c (patch) | |
tree | 71cf0b1bb1ce32c90b7d24f9e98e32654693bdae | |
parent | 61dae3f513795e828585d2f4d1179c3916631350 (diff) | |
download | freebsd-ports-gnome-27c8b24505dad7aeefb60813635285a8c63ab94c.tar.gz freebsd-ports-gnome-27c8b24505dad7aeefb60813635285a8c63ab94c.tar.zst freebsd-ports-gnome-27c8b24505dad7aeefb60813635285a8c63ab94c.zip |
Fix plist when NOPORTDOCS is set.
Notified by: itetcu
-rw-r--r-- | science/v_sim/Makefile | 6 |
1 files 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 |