aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdvdcss
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libdvdcss')
-rw-r--r--multimedia/libdvdcss/Makefile13
-rw-r--r--multimedia/libdvdcss/pkg-plist5
2 files changed, 4 insertions, 14 deletions
diff --git a/multimedia/libdvdcss/Makefile b/multimedia/libdvdcss/Makefile
index 361e7a11c4dd..c948a54487ac 100644
--- a/multimedia/libdvdcss/Makefile
+++ b/multimedia/libdvdcss/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libdvdcss
PORTVERSION= 1.3.99
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://download.videolan.org/pub/${PORTNAME}/${PORTVERSION}/
@@ -15,20 +16,14 @@ GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= gmake libtool pathfix tar:bzip2
USE_LDCONFIG= yes
+PORTDOCS= *
OPTIONS_DEFINE= DOXYGEN DOCS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOXYGEN}
-BUILD_DEPENDS+= doxygen:devel/doxygen
-PORTDOCS= *
-.endif
+DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
-post-install:
-.if ${PORT_OPTIONS:MDOXYGEN}
+post-install-DOXYGEN-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/doc/html/* ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/multimedia/libdvdcss/pkg-plist b/multimedia/libdvdcss/pkg-plist
index ab657af32b02..f3c3e5030498 100644
--- a/multimedia/libdvdcss/pkg-plist
+++ b/multimedia/libdvdcss/pkg-plist
@@ -4,8 +4,3 @@ lib/libdvdcss.so
lib/libdvdcss.so.2
lib/libdvdcss.so.2.2.0
libdata/pkgconfig/libdvdcss.pc
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README