openbsd-ports/graphics/png/Makefile

36 lines
969 B
Makefile
Raw Normal View History

2000-07-03 05:41:31 -04:00
# $OpenBSD: Makefile,v 1.23 2000/07/03 09:41:31 brad Exp $
1997-12-02 22:39:50 -05:00
2000-07-03 05:41:31 -04:00
DISTNAME= libpng-1.0.7
PKGNAME= png-1.0.7
CATEGORIES= graphics
NEED_VERSION= 1.301
2000-07-03 05:41:31 -04:00
MASTER_SITES= ftp://ftp.libpng.org/pub/png/src/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= libpng
1997-12-02 22:39:50 -05:00
2000-06-10 02:34:37 -04:00
HOMEPAGE= http://www.libpng.org/pub/png/
MAINTAINER= brad@openbsd.org
1997-12-02 22:39:50 -05:00
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
USE_LIBTOOL= Yes
2000-06-28 13:22:52 -04:00
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="libpng.la -lz -lm"
MAKE_FILE= scripts/makefile.std
1998-02-12 09:38:32 -05:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/png
cd ${WRKSRC}; ${INSTALL_MAN} libpng.3 libpngpf.3 ${PREFIX}/man/man3
${INSTALL_MAN} ${WRKSRC}/png.5 ${PREFIX}/man/man5
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/png
${INSTALL_DATA} ${WRKSRC}/libpng.txt ${PREFIX}/share/doc/png
1998-02-12 09:38:32 -05:00
test: build
2000-06-28 13:22:52 -04:00
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} test
.include <bsd.port.mk>