1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/graphics/libmng/Makefile
Antoine Brodin cbe40d5759 - Allow packaging as a regular user
- New LIB_DEPENDS syntax
- Use OPTIONS helpers
2014-02-14 09:59:19 +00:00

34 lines
915 B
Makefile

# Created by: Mikhail Teterin <mi@aldan.algebra.com>
# $FreeBSD$
PORTNAME= libmng
PORTVERSION= 1.0.10
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION} \
http://www.libmng.com/download/
MAINTAINER= mi@aldan.algebra.com
COMMENT= Multiple-image Network Graphics (MNG) reference library
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
liblcms.so:${PORTSDIR}/graphics/lcms
OPTIONS_DEFINE= MNG_OPTIMIZE
MNG_OPTIMIZE_DESC= Use vendor's new optimization flags
MAKEFILE= ${FILESDIR}/Makefile.bsd
#USE_BZIP2= yes # Please, uncomment on next upgrade
USES= uidfix
USE_LDCONFIG= yes
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} libmng.3 ${STAGEDIR}${PREFIX}/man/man3 \
&& ${INSTALL_MAN} mng.5 jng.5 ${STAGEDIR}${PREFIX}/man/man5
.include <bsd.port.mk>