40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.18 2000/05/21 10:40:21 fgsch Exp $
|
|
|
|
DISTNAME= libpng-1.0.6
|
|
PKGNAME= png-1.0.6
|
|
CATEGORIES= graphics
|
|
NEED_VERSION= 1.223
|
|
MASTER_SITES= ftp://ftp.uu.net/graphics/png/src/
|
|
|
|
PATCHFILES= libpng-1.0.6-patch-a.txt.gz \
|
|
libpng-1.0.6-patch-b.txt.gz \
|
|
libpng-1.0.6-patch-c.txt.gz
|
|
|
|
MAINTAINER= angelos@openbsd.org
|
|
|
|
LICENSE_TYPE= BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
FAKE= Yes
|
|
|
|
pre-patch:
|
|
@cd ${WRKSRC} && cp scripts/makefile.std Makefile
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
# The patches assumed shared libs would be build. If building
|
|
# on a host that does not support shared libs, e.g. the alpha,
|
|
# apply one more patch.
|
|
.if defined(NO_SHARED_LIBS)
|
|
PATCH_LIST+=noshared-patch
|
|
.endif
|