2019-07-12 20:46:54 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2019/07/12 20:47:02 sthen Exp $
|
2001-04-14 00:59:04 +00:00
|
|
|
|
2007-09-15 20:09:40 +00:00
|
|
|
COMMENT= Multiple-image Network Graphics (MNG) reference library
|
2001-02-19 18:51:05 +00:00
|
|
|
|
2008-07-16 19:53:13 +00:00
|
|
|
DISTNAME= lm010010
|
|
|
|
PKGNAME= libmng-1.0.10
|
2015-03-16 18:07:34 +00:00
|
|
|
REVISION= 3
|
2001-02-19 18:51:05 +00:00
|
|
|
CATEGORIES= graphics
|
2002-05-13 23:31:24 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmng/}
|
2005-10-02 22:12:38 +00:00
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
UNZIP= unzip -a
|
|
|
|
|
2012-09-02 10:25:13 +00:00
|
|
|
SHARED_LIBS= mng 3.1
|
2001-02-19 18:51:05 +00:00
|
|
|
|
2012-09-02 10:25:13 +00:00
|
|
|
HOMEPAGE= http://www.libmng.com/
|
2001-02-19 18:51:05 +00:00
|
|
|
|
2003-05-12 04:07:55 +00:00
|
|
|
# BSD
|
2019-07-12 20:46:54 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2001-02-19 18:51:05 +00:00
|
|
|
|
2012-09-02 10:25:13 +00:00
|
|
|
WANTLIB= jpeg lcms m z
|
|
|
|
|
2013-07-10 07:32:57 +00:00
|
|
|
LIB_DEPENDS= graphics/lcms
|
|
|
|
|
|
|
|
# non shared arches...
|
|
|
|
LIB_DEPENDS += graphics/jpeg
|
2013-06-30 14:12:32 +00:00
|
|
|
|
2008-01-04 17:48:33 +00:00
|
|
|
FAKE_FLAGS= PREFIX="${PREFIX}"
|
2001-02-19 18:51:05 +00:00
|
|
|
|
2005-12-26 15:07:55 +00:00
|
|
|
MAKE_ENV= CC="${CC}" \
|
2006-01-08 00:32:16 +00:00
|
|
|
SHLIB_MAJOR=${LIBmng_VERSION:R} \
|
|
|
|
SHLIB_MINOR=${LIBmng_VERSION:E}
|
2005-07-31 23:19:17 +00:00
|
|
|
MAKE_FILE= makefiles/makefile.openbsd
|
|
|
|
|
2005-10-02 22:12:38 +00:00
|
|
|
WRKDIST= ${WRKDIR}/libmng
|
|
|
|
|
2013-03-11 11:10:51 +00:00
|
|
|
NO_TEST= Yes
|
2005-07-31 23:19:17 +00:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@cp -f ${FILESDIR}/makefile.openbsd ${WRKSRC}/makefiles
|
2001-02-19 18:51:05 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|