aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2008-11-22 18:42:16 +0000
committerThierry Thomas <thierry@FreeBSD.org>2008-11-22 18:42:16 +0000
commit5b3acae188242819aaccad9bf9e9a85fb388d984 (patch)
treea8309b8d9feb7318e337f27d9f2c83d4282eacc6
parentc7b6c5f16e497ee663d61693d3339a31ed67a785 (diff)
downloadports-5b3acae188242819aaccad9bf9e9a85fb388d984.tar.gz
ports-5b3acae188242819aaccad9bf9e9a85fb388d984.zip
Notes
-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