summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2008-05-21 20:20:34 +0000
committerThierry Thomas <thierry@FreeBSD.org>2008-05-21 20:20:34 +0000
commit27f8d3e59b0735c16ce53f49f4925707aa207342 (patch)
treefcdf23053ff66eae79c8e87e1d7ada51b420f7cf /science
parentFix the hardcore paths, bump the PORTREVISION. (diff)
Fix plist when NOPORTDOCS is set.
Notified by: itetcu
Notes
Notes: svn path=/head/; revision=213472
Diffstat (limited to 'science')
-rw-r--r--science/v_sim/Makefile6
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