b65440c52c
-- headers have been moved from include/ to include/libpng/. for the short term sym-links have been created in include/ but will be removed once all ports have been checked. porters should @comment out the sym-links to check ports locally.
37 lines
872 B
Makefile
37 lines
872 B
Makefile
# $OpenBSD: Makefile,v 1.38 2002/04/26 02:19:04 brad Exp $
|
|
|
|
COMMENT= "library for manipulating PNG images"
|
|
|
|
DISTNAME= libpng-1.2.2
|
|
PKGNAME= ${DISTNAME:S/lib//}
|
|
CATEGORIES= graphics
|
|
NEED_VERSION= 1.522
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= libpng
|
|
|
|
HOMEPAGE= http://www.libpng.org/pub/png/libpng.html
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
FAKE_FLAGS= DESTDIR="${WRKINST}" PREFIX="${PREFIX}"
|
|
|
|
MAKE_ENV= CC="${CC}"
|
|
MAKE_FILE= scripts/makefile.openbsd
|
|
|
|
REGRESS_TARGET= test
|
|
|
|
# short term compatibility sym-links
|
|
# will be removed once all ports have been checked
|
|
# for proper operation without the sym-links
|
|
post-install:
|
|
@cd ${PREFIX}/include && \
|
|
ln -sf libpng/png.h png.h && \
|
|
ln -sf libpng/pngconf.h pngconf.h
|
|
|
|
.include <bsd.port.mk>
|