aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xvidcap
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-11-23 02:42:16 +0800
committerthierry <thierry@FreeBSD.org>2008-11-23 02:42:16 +0800
commitaf0b4b0145393be829fc5fd7b2b1a7f9f3b3736b (patch)
tree713fdf6b4566579285f3a794694f953785b19a3d /sysutils/xvidcap
parentc6d7005782fee67d518b9de5e40fa7c005ef1ba2 (diff)
downloadfreebsd-ports-gnome-af0b4b0145393be829fc5fd7b2b1a7f9f3b3736b.tar.gz
freebsd-ports-gnome-af0b4b0145393be829fc5fd7b2b1a7f9f3b3736b.tar.zst
freebsd-ports-gnome-af0b4b0145393be829fc5fd7b2b1a7f9f3b3736b.zip
Fix plist with -DNOPORTDOCS.
Reported by: QAT
Diffstat (limited to 'sysutils/xvidcap')
-rw-r--r--sysutils/xvidcap/Makefile8
-rw-r--r--sysutils/xvidcap/pkg-plist2
2 files changed, 8 insertions, 2 deletions
diff --git a/sysutils/xvidcap/Makefile b/sysutils/xvidcap/Makefile
index 4daa05ca128b..d8035af501a1 100644
--- a/sysutils/xvidcap/Makefile
+++ b/sysutils/xvidcap/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xvidcap
DISTVERSION= 1.1.4p1
-PORTREVISION= 3
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= sysutils multimedia
MASTER_SITES= SF
@@ -47,8 +47,14 @@ MAN1= xvidcap.1
pre-configure:
${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+.if defined(NOPORTDOCS)
+ ${REINPLACE_CMD} -e 's|pkgdataDATA install-xvidcapdocDATA|pkgdataDATA|' \
+ ${WRKSRC}/Makefile.in
+.endif
post-install:
+.if !defined(NOPORTDOCS)
@${RM} ${NULLDOCS:S|^|${DOCSDIR}/|}
+.endif
.include <bsd.port.mk>
diff --git a/sysutils/xvidcap/pkg-plist b/sysutils/xvidcap/pkg-plist
index e7d22a00c82e..05dd6616af76 100644
--- a/sysutils/xvidcap/pkg-plist
+++ b/sysutils/xvidcap/pkg-plist
@@ -142,7 +142,7 @@ share/pixmaps/xvidcap.png
@dirrm %%DATADIR%%/glade
@dirrm %%DATADIR%%
@dirrm share/omf/xvidcap
-@dirrm share/omf
+@dirrmtry share/omf
@dirrm share/gnome/help/xvidcap/it/figures
@dirrm share/gnome/help/xvidcap/it
@dirrm share/gnome/help/xvidcap/es/figures