summaryrefslogtreecommitdiffstats
path: root/graphics/libmng/Makefile
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2000-11-03 17:08:18 +0000
committertrevor <trevor@FreeBSD.org>2000-11-03 17:08:18 +0000
commit29d3ec505c3fb90f2ecabdd1c37d6c71263e3668 (patch)
tree9af17c45119f2441f44d8c9adc577ff0c4c90546 /graphics/libmng/Makefile
parentdb2824123e74b249e6f42310979621adabd8d23f (diff)
downloadFreeBSD-ports-29d3ec505c3fb90f2ecabdd1c37d6c71263e3668.zip
FreeBSD-ports-29d3ec505c3fb90f2ecabdd1c37d6c71263e3668.tar.gz
Add new port of libmng 0.9.3, a library to support images in MNG format.
MNG permits losslessly compressed, animated images. PR: 22547 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Diffstat (limited to 'graphics/libmng/Makefile')
-rw-r--r--graphics/libmng/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile
new file mode 100644
index 0000000..b63f541
--- /dev/null
+++ b/graphics/libmng/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: libmng
+# Date created: Nov 2, 2000
+# Whom: Mikhail Teterin <mi@aldan.algebra.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libmng
+PORTVERSION= 0.9.3
+CATEGORIES= graphics
+MASTER_SITES= http://www.3-t.com/libmng/download/ \
+ ${MASTER_SITE_SOURCEFORGE} \
+ http://www.libmng.com/download/
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= mi@aldan.algebra.com
+
+LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
+ lcms:${PORTSDIR}/graphics/lcms
+
+INSTALLS_SHLIB= yes
+SHLIB_VER= 0
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-jpeg=${LOCALBASE} --with-lcms=${LOCALBASE}
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
+
+MAN3= libmng.3
+MAN5= mng.5 jng.5
+
+post-install:
+ cd ${WRKSRC}/doc/man && ${INSTALL_MAN} ${MAN3} ${PREFIX}/man/man3 \
+ && ${INSTALL_MAN} ${MAN5} ${PREFIX}/man/man5
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud