openbsd-ports/graphics/gif2png/Makefile

40 lines
990 B
Makefile
Raw Normal View History

2002-07-30 09:43:36 -04:00
# $OpenBSD: Makefile,v 1.30 2002/07/30 13:43:36 brad Exp $
COMMENT= "converts GIF images to the PNG format"
2002-07-30 09:43:36 -04:00
DISTNAME= gif2png-2.4.5
CATEGORIES= graphics
1999-10-28 23:11:18 -04:00
MASTER_SITES= http://www.tuxedo.org/~esr/gif2png/ \
ftp://ftp.ccil.org/pub/esr/
HOMEPAGE= http://www.tuxedo.org/~esr/gif2png/
LIB_DEPENDS= png.2::graphics/png
2000-03-18 21:38:42 -05:00
2000-09-24 03:03:59 -04:00
MAINTAINER= Brad Smith <brad@openbsd.org>
2000-03-05 13:30:21 -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
2001-03-14 16:06:55 -05:00
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
2002-05-26 13:32:57 -04:00
CONFIGURE_ARGS= --with-png-inc="${LOCALBASE}/include/libpng" \
--with-png-lib="${LOCALBASE}/lib"
2001-03-14 16:06:55 -05:00
DOCS= COPYING README
pre-patch:
@sed -e "s|@PREFIX@|${LOCALBASE}|" \
${FILESDIR}/web2png > ${WRKDIR}/web2png
post-install:
2000-01-30 19:27:30 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gif2png
2001-03-14 16:06:55 -05:00
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/gif2png
${INSTALL_SCRIPT} ${WRKSRC}/web2png ${PREFIX}/libexec/web2png.bin
${INSTALL_SCRIPT} ${WRKDIR}/web2png ${PREFIX}/bin
.include <bsd.port.mk>