openbsd-ports/graphics/libmng/Makefile
2013-03-11 11:10:51 +00:00

39 lines
730 B
Makefile

# $OpenBSD: Makefile,v 1.25 2013/03/11 11:10:53 espie Exp $
COMMENT= Multiple-image Network Graphics (MNG) reference library
DISTNAME= lm010010
PKGNAME= libmng-1.0.10
REVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmng/}
EXTRACT_SUFX= .zip
UNZIP= unzip -a
SHARED_LIBS= mng 3.1
HOMEPAGE= http://www.libmng.com/
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= jpeg lcms m z
LIB_DEPENDS= graphics/lcms
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
NO_TEST= Yes
post-extract:
@cp -f ${FILESDIR}/makefile.openbsd ${WRKSRC}/makefiles
.include <bsd.port.mk>