mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Allow packaging as a regular user
- New LIB_DEPENDS syntax - Use OPTIONS helpers
This commit is contained in:
parent
42299dc541
commit
cbe40d5759
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344177
@ -11,8 +11,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION} \
|
||||
MAINTAINER= mi@aldan.algebra.com
|
||||
COMMENT= Multiple-image Network Graphics (MNG) reference library
|
||||
|
||||
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
|
||||
lcms:${PORTSDIR}/graphics/lcms
|
||||
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
|
||||
@ -20,14 +20,11 @@ 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
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.if ${PORT_OPTIONS:MMNG_OPTIMIZE}
|
||||
MAKE_ARGS+= WITH_MNG_OPTIMIZE=true
|
||||
.else
|
||||
MAKE_ARGS+= WITH_MNG_OPTIMIZE=off
|
||||
.endif
|
||||
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user