2004-04-06 05:17:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2004/04/06 09:17:57 brad Exp $
|
2001-05-06 01:05:43 -04:00
|
|
|
|
|
|
|
COMMENT= "converts GIF images to the PNG format"
|
1999-09-06 19:40:07 -04:00
|
|
|
|
2004-04-06 05:17:57 -04:00
|
|
|
DISTNAME= gif2png-2.5.1
|
1999-09-06 19:40:07 -04:00
|
|
|
CATEGORIES= graphics
|
2003-10-16 18:06:49 -04:00
|
|
|
HOMEPAGE= http://www.catb.org/~esr/gif2png/
|
1999-09-06 19:40:07 -04:00
|
|
|
|
2003-10-16 18:06:49 -04:00
|
|
|
# BSD
|
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
|
|
|
|
2003-10-16 18:06:49 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
LIB_DEPENDS= png.2::graphics/png
|
|
|
|
|
2001-03-14 16:06:55 -05:00
|
|
|
USE_GMAKE= Yes
|
2000-06-12 11:41:34 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2002-05-26 13:32:57 -04:00
|
|
|
CONFIGURE_ARGS= --with-png-inc="${LOCALBASE}/include/libpng" \
|
1999-12-05 20:11:49 -05:00
|
|
|
--with-png-lib="${LOCALBASE}/lib"
|
|
|
|
|
2003-10-16 18:06:49 -04:00
|
|
|
pre-build:
|
|
|
|
@sed -e "s|@PREFIX@|${LOCALBASE}|g" \
|
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
|
2003-10-16 18:06:49 -04:00
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} README ${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>
|