7148d4f7f8
- GNU_CONFIGURE -> CONFIGURE_STYLE - add HOMEPAGE
35 lines
848 B
Makefile
35 lines
848 B
Makefile
# $OpenBSD: Makefile,v 1.19 2000/06/12 15:41:34 brad Exp $
|
|
|
|
DISTNAME= gif2png-2.3.2
|
|
CATEGORIES= graphics
|
|
NEED_VERSION= 1.301
|
|
MASTER_SITES= http://www.tuxedo.org/~esr/gif2png/ \
|
|
ftp://ftp.ccil.org/pub/esr/
|
|
|
|
HOMEPAGE= http://www.tuxedo.org/~esr/gif2png/
|
|
|
|
LIB_DEPENDS= png.1.6::graphics/png
|
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --with-png-inc="${LOCALBASE}/include" \
|
|
--with-png-lib="${LOCALBASE}/lib"
|
|
|
|
pre-patch:
|
|
@sed -e "s|@PREFIX@|${LOCALBASE}|" \
|
|
${FILESDIR}/web2png > ${WRKDIR}/web2png
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gif2png
|
|
cd ${WRKSRC}; ${INSTALL_DATA} COPYING README \
|
|
${PREFIX}/share/doc/gif2png
|
|
${INSTALL_SCRIPT} ${WRKDIR}/web2png ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|