2003-12-23 18:50:56 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2003/12/23 23:50:56 brad Exp $
|
2001-04-13 20:59:04 -04:00
|
|
|
|
|
|
|
COMMENT= "Multiple-image Network Graphics (MNG) reference library"
|
2001-02-19 13:51:05 -05:00
|
|
|
|
2003-05-12 00:07:55 -04:00
|
|
|
DISTNAME= libmng-1.0.5
|
2003-12-23 18:50:56 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2001-02-19 13:51:05 -05:00
|
|
|
CATEGORIES= graphics
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmng/}
|
2001-02-19 13:51:05 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.libmng.com/
|
|
|
|
|
2001-12-03 11:53:01 -05:00
|
|
|
LIB_DEPENDS= jpeg.62::graphics/jpeg \
|
|
|
|
lcms::graphics/lcms
|
2001-02-19 13:51:05 -05:00
|
|
|
|
2001-11-02 16:04:56 -05:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
2001-02-19 13:51:05 -05:00
|
|
|
|
2003-05-12 00:07:55 -04:00
|
|
|
# BSD
|
2001-02-19 13:51:05 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2003-12-23 18:50:56 -05:00
|
|
|
SEPARATE_BUILD= simple
|
2001-02-19 13:51:05 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2002-07-19 12:29:42 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-12-23 18:50:56 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-02-19 13:51:05 -05:00
|
|
|
|
|
|
|
post-install:
|
2002-07-19 12:29:42 -04:00
|
|
|
cd ${WRKSRC}/doc/man && \
|
2001-02-19 13:51:05 -05:00
|
|
|
${INSTALL_MAN} libmng.3 ${PREFIX}/man/man3 && \
|
|
|
|
${INSTALL_MAN} mng.5 jng.5 ${PREFIX}/man/man5
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|