2001-01-18 13:01:28 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2001/01/18 18:01:28 brad Exp $
|
1999-09-06 19:40:07 -04:00
|
|
|
|
2001-01-18 13:01:28 -05:00
|
|
|
DISTNAME= gif2png-2.4.0
|
1999-09-06 19:40:07 -04:00
|
|
|
CATEGORIES= graphics
|
2001-01-18 13:01:28 -05:00
|
|
|
NEED_VERSION= 1.336
|
1999-10-28 23:11:18 -04:00
|
|
|
MASTER_SITES= http://www.tuxedo.org/~esr/gif2png/ \
|
|
|
|
ftp://ftp.ccil.org/pub/esr/
|
1999-09-06 19:40:07 -04:00
|
|
|
|
2000-06-12 11:41:34 -04:00
|
|
|
HOMEPAGE= http://www.tuxedo.org/~esr/gif2png/
|
|
|
|
|
2000-06-25 18:26:27 -04:00
|
|
|
LIB_DEPENDS= png.1::graphics/png
|
2000-03-18 21:38:42 -05:00
|
|
|
|
2000-09-24 03:03:59 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
1999-09-06 19:40:07 -04:00
|
|
|
|
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
|
|
|
|
2000-06-12 11:41:34 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
1999-12-05 20:11:49 -05:00
|
|
|
CONFIGURE_ARGS= --with-png-inc="${LOCALBASE}/include" \
|
|
|
|
--with-png-lib="${LOCALBASE}/lib"
|
|
|
|
|
2000-02-01 15:21:15 -05:00
|
|
|
pre-patch:
|
2000-03-18 21:47:42 -05:00
|
|
|
@sed -e "s|@PREFIX@|${LOCALBASE}|" \
|
2000-02-01 15:28:50 -05:00
|
|
|
${FILESDIR}/web2png > ${WRKDIR}/web2png
|
1999-12-05 20:11:49 -05:00
|
|
|
|
|
|
|
post-install:
|
2000-01-30 19:27:30 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gif2png
|
2000-06-12 11:41:34 -04:00
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} COPYING README \
|
1999-12-25 01:46:51 -05:00
|
|
|
${PREFIX}/share/doc/gif2png
|
2000-07-23 18:21:38 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/web2png ${PREFIX}/libexec/web2png.bin
|
1999-12-05 20:11:49 -05:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/web2png ${PREFIX}/bin
|
1999-09-06 19:40:07 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|