openbsd-ports/graphics/gif2png/Makefile
2000-02-12 06:29:49 +00:00

33 lines
827 B
Makefile

# $OpenBSD: Makefile,v 1.10 2000/02/12 06:29:54 turan Exp $
DISTNAME= gif2png-2.3.0
CATEGORIES= graphics
MASTER_SITES= http://www.tuxedo.org/~esr/gif2png/ \
ftp://ftp.ccil.org/pub/esr/
MAINTAINER= brad@openbsd.org
LICENSE_TYPE= BSD
PERMIT_PKG_CDROM= YES
PERMIT_PKG_FTP= YES
PERMIT_DISTF_CDROM= YES
PERMIT_DISTF_FTP= YES
LIB_DEPENDS= png.1.3:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-png-inc="${LOCALBASE}/include" \
--with-png-lib="${LOCALBASE}/lib"
pre-patch:
@sed -e "s|@PREFIX@|${PREFIX}|" -e "s|@LOCALBASE@|${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>