aboutsummaryrefslogtreecommitdiffstats
path: root/science/v_sim
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-05-22 04:20:34 +0800
committerthierry <thierry@FreeBSD.org>2008-05-22 04:20:34 +0800
commit27c8b24505dad7aeefb60813635285a8c63ab94c (patch)
tree71cf0b1bb1ce32c90b7d24f9e98e32654693bdae /science/v_sim
parent61dae3f513795e828585d2f4d1179c3916631350 (diff)
downloadfreebsd-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
Diffstat (limited to 'science/v_sim')
-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