aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-03-21 06:52:04 +0800
committerpawel <pawel@FreeBSD.org>2013-03-21 06:52:04 +0800
commit76a63c5b9ce564aeec5ad3e73ae4080f852cb689 (patch)
tree8c90d6a746e01ec1165da5a599eba56c44c6cf26 /multimedia
parentdc0def05d440ac1727f4aef270d8f25bb6b52071 (diff)
downloadfreebsd-ports-gnome-76a63c5b9ce564aeec5ad3e73ae4080f852cb689.tar.gz
freebsd-ports-gnome-76a63c5b9ce564aeec5ad3e73ae4080f852cb689.tar.zst
freebsd-ports-gnome-76a63c5b9ce564aeec5ad3e73ae4080f852cb689.zip
libsmacker is a cross-platform C library which can be used for decoding Smacker
Video files produced by RAD Game Tools. Smacker Video was the king of video middleware in the 1990s, and its 256-color compressed video format was used in over 2600 software titles. WWW: http://libsmacker.sourceforge.net PR: ports/176822 SUbmitted by: Greg Kennedy <kennedy.greg@gmail.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/libsmacker/Makefile20
-rw-r--r--multimedia/libsmacker/distinfo2
-rw-r--r--multimedia/libsmacker/pkg-descr6
4 files changed, 29 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 6bc77ac78692..73c663722498 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -167,6 +167,7 @@
SUBDIR += libquicktime-lame
SUBDIR += libquvi
SUBDIR += libquvi-scripts
+ SUBDIR += libsmacker
SUBDIR += libtheora
SUBDIR += libtuner
SUBDIR += libv4l
diff --git a/multimedia/libsmacker/Makefile b/multimedia/libsmacker/Makefile
new file mode 100644
index 000000000000..8ca3c5af08e0
--- /dev/null
+++ b/multimedia/libsmacker/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= libsmacker
+PORTVERSION= 1.0
+CATEGORIES= multimedia
+MASTER_SITES= SF/${PORTNAME}/$(DISTNAME)/
+
+MAINTAINER= kennedy.greg@gmail.com
+COMMENT= C library for decoding .smk Smacker Video files
+
+CFLAGS+= -fPIC
+USE_LDCONFIG= yes
+
+PLIST_FILES= lib/libsmacker.so
+
+post-patch:
+ @${REINPLACE_CMD} '/CFLAGS/s|+=|?=|; s|gcc|${CC}|g' \
+ ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/multimedia/libsmacker/distinfo b/multimedia/libsmacker/distinfo
new file mode 100644
index 000000000000..85a498ed2d46
--- /dev/null
+++ b/multimedia/libsmacker/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libsmacker-1.0.tar.gz) = 1773670a4196640ef0d91017e2aab7638edd0ef149148ff323667a0d67874bcd
+SIZE (libsmacker-1.0.tar.gz) = 17884
diff --git a/multimedia/libsmacker/pkg-descr b/multimedia/libsmacker/pkg-descr
new file mode 100644
index 000000000000..4fcc5c8f0ed0
--- /dev/null
+++ b/multimedia/libsmacker/pkg-descr
@@ -0,0 +1,6 @@
+libsmacker is a cross-platform C library which can be used for decoding Smacker
+Video files produced by RAD Game Tools. Smacker Video was the king of video
+middleware in the 1990s, and its 256-color compressed video format was used in
+over 2600 software titles.
+
+WWW: http://libsmacker.sourceforge.net