2006-06-29 10:33:47 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.57 2006/06/29 14:33:47 bernd Exp $
|
2001-03-25 12:32:23 -05:00
|
|
|
|
|
|
|
COMMENT= "library for manipulating PNG images"
|
1997-12-02 22:39:50 -05:00
|
|
|
|
2006-06-29 10:33:47 -04:00
|
|
|
VERSION= 1.2.12
|
2006-05-10 09:50:01 -04:00
|
|
|
DISTNAME= libpng-${VERSION}
|
2006-06-29 10:33:47 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/lib//}
|
|
|
|
SHARED_LIBS= png 5.1
|
2000-06-22 04:21:49 -04:00
|
|
|
CATEGORIES= graphics
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/}
|
1997-12-02 22:39:50 -05:00
|
|
|
|
2002-02-06 23:50:55 -05:00
|
|
|
HOMEPAGE= http://www.libpng.org/pub/png/libpng.html
|
2000-06-10 02:34:37 -04:00
|
|
|
|
2004-02-24 18:18:57 -05:00
|
|
|
# BSD
|
2000-03-05 23:06:32 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2005-12-26 17:33:17 -05:00
|
|
|
FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR="${WRKINST}" PREFIX="${PREFIX}"
|
2000-06-22 04:21:49 -04:00
|
|
|
|
2002-02-06 11:40:38 -05:00
|
|
|
MAKE_ENV= CC="${CC}"
|
2001-11-18 21:40:52 -05:00
|
|
|
MAKE_FILE= scripts/makefile.openbsd
|
2005-12-26 17:33:17 -05:00
|
|
|
MAKE_FLAGS= SHLIB_MAJOR=${LIBpng_VERSION:R} \
|
2006-05-10 09:50:01 -04:00
|
|
|
SHLIB_MINOR=${LIBpng_VERSION:E} \
|
|
|
|
PNGLIB_VERSION=${VERSION}
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@rm -f ${WRKSRC}/scripts/*.orig
|
1999-05-08 14:13:49 -04:00
|
|
|
|
2000-06-22 04:21:49 -04:00
|
|
|
.include <bsd.port.mk>
|