2000-02-01 15:28:50 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2000/02/01 20:28:50 brad Exp $
|
1999-09-06 19:40:07 -04:00
|
|
|
|
2000-01-06 20:25:15 -05:00
|
|
|
DISTNAME= gif2png-2.3.0
|
1999-09-06 19:40:07 -04:00
|
|
|
CATEGORIES= graphics
|
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
|
|
|
|
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
|
|
|
|
LIB_DEPENDS= png.1.3:${PORTSDIR}/graphics/png
|
|
|
|
|
1999-10-28 23:11:18 -04:00
|
|
|
GNU_CONFIGURE= yes
|
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-02-01 15:28:50 -05:00
|
|
|
@sed -e "s|@PREFIX@|${PREFIX}|" -e "s|@LOCALBASE@|${LOCALBASE}|" \
|
|
|
|
${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
|
1999-12-25 01:46:51 -05:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} COPYING README \
|
|
|
|
${PREFIX}/share/doc/gif2png
|
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>
|