41 lines
832 B
Makefile
41 lines
832 B
Makefile
# $OpenBSD: Makefile,v 1.22 2010/11/17 08:05:14 espie Exp $
|
|
|
|
COMMENT= Multiple-image Network Graphics (MNG) reference library
|
|
|
|
DISTNAME= lm010010
|
|
PKGNAME= libmng-1.0.10
|
|
SHARED_LIBS= mng 3.1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmng/}
|
|
EXTRACT_SUFX= .zip
|
|
UNZIP= unzip -a
|
|
|
|
HOMEPAGE= http://www.libmng.com/
|
|
|
|
LIB_DEPENDS= graphics/jpeg \
|
|
graphics/lcms
|
|
WANTLIB = jpeg>=62 lcms
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
FAKE_FLAGS= PREFIX="${PREFIX}"
|
|
|
|
MAKE_ENV= CC="${CC}" \
|
|
SHLIB_MAJOR=${LIBmng_VERSION:R} \
|
|
SHLIB_MINOR=${LIBmng_VERSION:E}
|
|
MAKE_FILE= makefiles/makefile.openbsd
|
|
|
|
WRKDIST= ${WRKDIR}/libmng
|
|
|
|
USE_GROFF = Yes
|
|
NO_REGRESS= Yes
|
|
|
|
post-extract:
|
|
@cp -f ${FILESDIR}/makefile.openbsd ${WRKSRC}/makefiles
|
|
|
|
.include <bsd.port.mk>
|