openbsd-ports/graphics/png/Makefile

40 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2000/05/21 10:40:21 fgsch Exp $
1997-12-02 22:39:50 -05:00
DISTNAME= libpng-1.0.6
PKGNAME= png-1.0.6
1997-12-02 22:39:50 -05:00
CATEGORIES= graphics
2000-03-05 23:06:32 -05:00
NEED_VERSION= 1.223
1999-05-09 03:24:21 -04:00
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
1997-12-02 22:39:50 -05:00
MAINTAINER= angelos@openbsd.org
2000-02-12 01:29:49 -05:00
LICENSE_TYPE= 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
FAKE= Yes
2000-02-12 01:29:49 -05:00
1998-03-12 19:37:52 -05:00
pre-patch:
@cd ${WRKSRC} && cp scripts/makefile.std Makefile
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
1997-12-02 22:39:50 -05:00
.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