aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libg722/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libg722/Makefile')
-rw-r--r--audio/libg722/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/audio/libg722/Makefile b/audio/libg722/Makefile
new file mode 100644
index 000000000000..99bb6a7576dc
--- /dev/null
+++ b/audio/libg722/Makefile
@@ -0,0 +1,29 @@
+# Created by: sobomax
+# $FreeBSD$
+
+PORTNAME= libg722
+PORTVERSION= 1.0.0
+#PORTREVISION= 1
+CATEGORIES= misc
+
+MAINTAINER= ports@sippysoft.com
+COMMENT= Software G.722 decoding/encoding library
+
+LICENSE= PUBLIC_DOMAIN
+LICENSE_NAME= ${LICENSE:S/_/ /}
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USE_GITHUB= yes
+GH_ACCOUNT= sippy
+GH_TAGNAME= v_1_0_0
+
+MAKE_ENV= MAKEOBJDIR=${WRKDIR}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/g722.h ${STAGEDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/g722_decoder.h ${STAGEDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/g722_encoder.h ${STAGEDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKDIR}/libg722.a ${STAGEDIR}${PREFIX}/lib
+
+.include <bsd.port.mk>