36 lines
870 B
Makefile
36 lines
870 B
Makefile
# $OpenBSD: Makefile,v 1.9 2003/05/12 04:07:55 brad Exp $
|
|
|
|
COMMENT= "Multiple-image Network Graphics (MNG) reference library"
|
|
|
|
DISTNAME= libmng-1.0.5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmng/}
|
|
|
|
HOMEPAGE= http://www.libmng.com/
|
|
|
|
LIB_DEPENDS= jpeg.62::graphics/jpeg \
|
|
lcms::graphics/lcms
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --enable-static \
|
|
--with-jpeg="${LOCALBASE}"
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -lm"
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/doc/man && \
|
|
${INSTALL_MAN} libmng.3 ${PREFIX}/man/man3 && \
|
|
${INSTALL_MAN} mng.5 jng.5 ${PREFIX}/man/man5
|
|
|
|
.include <bsd.port.mk>
|