aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/rtmpdump/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/rtmpdump/Makefile')
-rw-r--r--multimedia/rtmpdump/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/multimedia/rtmpdump/Makefile b/multimedia/rtmpdump/Makefile
index 860bd11b2eed..42aa413250c8 100644
--- a/multimedia/rtmpdump/Makefile
+++ b/multimedia/rtmpdump/Makefile
@@ -1,12 +1,8 @@
-# Ports collection makefile for: rtmpdump
-# Date created: March 15, 2010
-# Whom: hrs
-#
# $FreeBSD$
PORTNAME= rtmpdump
PORTVERSION= 2.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia net
MASTER_SITES= http://rtmpdump.mplayerhq.hu/download/
@@ -14,7 +10,6 @@ MAINTAINER= hrs@FreeBSD.org
COMMENT= A tool to download RTMP streams
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
@@ -28,6 +23,8 @@ MAN1= rtmpdump.1
MAN3= librtmp.3
MAN8= rtmpgw.8
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
@@ -39,8 +36,8 @@ CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
.endif
+.if ${PORT_OPTIONS:MDOCS}
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif