aboutsummaryrefslogtreecommitdiff
path: root/www/mod_h264_streaming
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2010-05-08 08:32:16 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2010-05-08 08:32:16 +0000
commitb39c6dcbd4c96ac7395638f4aef5e26be3bd0124 (patch)
tree790e8fd57a7989916198acd821b93a32cefeabd3 /www/mod_h264_streaming
parent20991137bf7c2953b52192690b3c958283de3d05 (diff)
downloadports-b39c6dcbd4c96ac7395638f4aef5e26be3bd0124.tar.gz
ports-b39c6dcbd4c96ac7395638f4aef5e26be3bd0124.zip
Notes
Diffstat (limited to 'www/mod_h264_streaming')
-rw-r--r--www/mod_h264_streaming/Makefile16
-rw-r--r--www/mod_h264_streaming/distinfo6
-rw-r--r--www/mod_h264_streaming/pkg-plist4
3 files changed, 16 insertions, 10 deletions
diff --git a/www/mod_h264_streaming/Makefile b/www/mod_h264_streaming/Makefile
index 0e293ab91345..3d9d2e45fc8f 100644
--- a/www/mod_h264_streaming/Makefile
+++ b/www/mod_h264_streaming/Makefile
@@ -6,21 +6,23 @@
#
PORTNAME= mod_h264_streaming
-PORTVERSION= 2.0
-PORTREVISION= 1
+PORTVERSION= 2.2.7
CATEGORIES= www
-MASTER_SITES= http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
+MASTER_SITES= http://h264.code-shop.com/download/
+DISTNAME= apache_${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= apache22
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Apache H264 streaming module
-USE_BZIP2= yes
USE_APACHE= 22+
-AP_FAST_BUILD= yes
-AP_GENPLIST= yes
-SRC_FILE= mod_h264_streaming.c moov.c
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-apxs="${APXS}"
RESTRICTED= no-commercial-use
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+PLIST_SUB= SED=${SED}
+
.include <bsd.port.mk>
diff --git a/www/mod_h264_streaming/distinfo b/www/mod_h264_streaming/distinfo
index 0516995e7901..22377f25a697 100644
--- a/www/mod_h264_streaming/distinfo
+++ b/www/mod_h264_streaming/distinfo
@@ -1,3 +1,3 @@
-MD5 (apache22/mod_h264_streaming-2.0.tar.bz2) = 0e5ae63fc5697c56b4c78671d3338a78
-SHA256 (apache22/mod_h264_streaming-2.0.tar.bz2) = 1774e20be353b5fa774cd259efd200f8d38136af032670ec7fe6989224b6cd3e
-SIZE (apache22/mod_h264_streaming-2.0.tar.bz2) = 13483
+MD5 (apache22/apache_mod_h264_streaming-2.2.7.tar.gz) = 123cacef68e9ff56fe908200bd0feea5
+SHA256 (apache22/apache_mod_h264_streaming-2.2.7.tar.gz) = 9ab80d038d83af453919bd9d5bed0e9e34f1469a8901146698ff6fd4e164fdc0
+SIZE (apache22/apache_mod_h264_streaming-2.2.7.tar.gz) = 320605
diff --git a/www/mod_h264_streaming/pkg-plist b/www/mod_h264_streaming/pkg-plist
new file mode 100644
index 000000000000..a490eb083ae9
--- /dev/null
+++ b/www/mod_h264_streaming/pkg-plist
@@ -0,0 +1,4 @@
+@unexec %%SED%% -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
+%%APACHEMODDIR%%/%%AP_MODULE%%
+@exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
+@unexec echo "Don't forget to remove all mod_h264_streaming-related directives in your httpd.conf"