mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
295e4d6cff
Submitted by: cperciva
42 lines
969 B
Makefile
42 lines
969 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= jpeg:${PORTSDIR}/graphics/jpeg \
|
|
lcms:${PORTSDIR}/graphics/lcms
|
|
|
|
OPTIONS_DEFINE= MNG_OPTIMIZE
|
|
MNG_OPTIMIZE_DESC= Use vendor's new optimization flags
|
|
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
|
MAKE_JOBS_SAFE= yes
|
|
#USE_BZIP2= yes # Please, uncomment on next upgrade
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN3= libmng.3
|
|
MAN5= mng.5 jng.5
|
|
|
|
.include <bsd.port.options.mk>
|
|
.if ${PORT_OPTIONS:MMNG_OPTIMIZE}
|
|
MAKE_ARGS+= WITH_MNG_OPTIMIZE=true
|
|
.else
|
|
MAKE_ARGS+= WITH_MNG_OPTIMIZE=off
|
|
.endif
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/doc/man && ${INSTALL_MAN} ${MAN3} ${PREFIX}/man/man3 \
|
|
&& ${INSTALL_MAN} ${MAN5} ${PREFIX}/man/man5
|
|
|
|
.include <bsd.port.mk>
|