[Midnightbsd-cvs] mports [17054] trunk/graphics/libmng: fix man pages

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 13 22:45:49 EDT 2014


Revision: 17054
          http://svnweb.midnightbsd.org/mports/?rev=17054
Author:   laffer1
Date:     2014-09-13 22:45:47 -0400 (Sat, 13 Sep 2014)
Log Message:
-----------
fix man pages

Modified Paths:
--------------
    trunk/graphics/libmng/Makefile
    trunk/graphics/libmng/distinfo
    trunk/graphics/libmng/pkg-plist

Modified: trunk/graphics/libmng/Makefile
===================================================================
--- trunk/graphics/libmng/Makefile	2014-09-14 02:40:48 UTC (rev 17053)
+++ trunk/graphics/libmng/Makefile	2014-09-14 02:45:47 UTC (rev 17054)
@@ -2,7 +2,7 @@
 
 PORTNAME=	libmng
 PORTVERSION=	1.0.10
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION} \
 		http://www.libmng.com/download/
@@ -9,24 +9,25 @@
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Multiple-image Network Graphics (MNG) reference library
+
 LICENSE=	bsd3
 
-LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
-		lcms:${PORTSDIR}/graphics/lcms
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		liblcms.so:${PORTSDIR}/graphics/lcms
 
-OPTIONS=	MNG_OPTIMIZE "Use vendor's new optimization flags" off
+OPTIONS_DEFINE=	MNG_OPTIMIZE
+MNG_OPTIMIZE_DESC=	Use vendor's new optimization flags
 
 MAKEFILE=	${FILESDIR}/Makefile.bsd
-MAKE_ARGS+=	WITH_MNG_OPTIMIZE=${WITH_MNG_OPTIMIZE}
-MAKE_JOBS_SAFE=	yes
 
+USES=		uidfix
 USE_LDCONFIG=	yes
 
-MAN3=		libmng.3
-MAN5=		mng.5 jng.5
+MNG_OPTIMIZE_MAKE_ARGS=	WITH_MNG_OPTIMIZE=true
+MNG_OPTIMIZE_MAKE_ARGS_OFF=	WITH_MNG_OPTIMIZE=off
 
 post-install:
-	cd ${WRKSRC}/doc/man && ${INSTALL_MAN} ${MAN3} ${PREFIX}/man/man3 \
-		&& ${INSTALL_MAN} ${MAN5} ${PREFIX}/man/man5
+	cd ${WRKSRC}/doc/man && ${INSTALL_MAN} libmng.3 ${PREFIX}/man/man3 \
+		&& ${INSTALL_MAN} mng.5 jng.5 ${PREFIX}/man/man5
 
 .include <bsd.port.mk>

Modified: trunk/graphics/libmng/distinfo
===================================================================
--- trunk/graphics/libmng/distinfo	2014-09-14 02:40:48 UTC (rev 17053)
+++ trunk/graphics/libmng/distinfo	2014-09-14 02:45:47 UTC (rev 17054)
@@ -1,4 +1,2 @@
-MD5 (libmng-1.0.10.tar.gz) = a464ae7d679781beebdf7440d144b7bd
 SHA256 (libmng-1.0.10.tar.gz) = 03a79dac9b9316d37227057614a248a946f997c4d1a3437fb569e9a63897f911
-RMD160 (libmng-1.0.10.tar.gz) = ed09e537ebb129f5e13cba56d9d2c2a106955393
 SIZE (libmng-1.0.10.tar.gz) = 1093337

Modified: trunk/graphics/libmng/pkg-plist
===================================================================
--- trunk/graphics/libmng/pkg-plist	2014-09-14 02:40:48 UTC (rev 17053)
+++ trunk/graphics/libmng/pkg-plist	2014-09-14 02:45:47 UTC (rev 17054)
@@ -1,6 +1,9 @@
 include/libmng.h
 include/libmng_conf.h
 include/libmng_types.h
+man/man3/libmng.3.gz
+man/man5/jng.5.gz
+man/man5/mng.5.gz
 lib/libmng.a
 lib/libmng.so
 lib/libmng.so.1



More information about the Midnightbsd-cvs mailing list