2008-06-07 06:38:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2008/06/07 10:38:21 bernd Exp $
|
2001-11-02 16:13:35 -05:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= tools and library routines for working with GIF images
|
2001-11-02 16:13:35 -05:00
|
|
|
|
2005-11-09 16:17:20 -05:00
|
|
|
DISTNAME= libungif-4.1.4
|
2007-03-29 09:39:14 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2006-01-07 19:29:37 -05:00
|
|
|
SHARED_LIBS= gif 5.4 \
|
|
|
|
ungif 5.4
|
2001-11-02 16:13:35 -05:00
|
|
|
CATEGORIES= graphics
|
2008-06-07 06:38:21 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/}
|
2001-11-02 16:13:35 -05:00
|
|
|
|
2004-04-04 10:10:09 -04:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/libungif/
|
2001-11-02 16:13:35 -05:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2007-03-29 09:39:14 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2001-11-02 16:13:35 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-29 20:06:33 -05:00
|
|
|
WANTLIB= c m
|
2001-11-02 16:13:35 -05:00
|
|
|
|
2007-03-29 09:39:14 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.59
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--without-x
|
2001-11-02 16:13:35 -05:00
|
|
|
|
2007-03-29 09:39:14 -04:00
|
|
|
DOCS= README UNCOMPRESSED_GIF
|
|
|
|
HTMLDOCS= *.html *.txt *.png
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/libungif
|
|
|
|
|
|
|
|
MAKE_ENV+= CFLAGS="${CFLAGS}"
|
2001-11-02 16:13:35 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@cd ${PREFIX}/lib; \
|
2005-12-26 14:38:06 -05:00
|
|
|
ln -s libungif.a libgif.a && \
|
|
|
|
ln -s libungif.so.${LIBungif_VERSION} libgif.so.${LIBgif_VERSION} && \
|
2001-11-02 16:13:35 -05:00
|
|
|
sed -e s#libungif#libgif#g libungif.la > libgif.la && \
|
2003-08-21 10:46:52 -04:00
|
|
|
chown ${LIBOWN}:${LIBGRP} libgif.la && \
|
2001-11-02 16:13:35 -05:00
|
|
|
chmod 755 libgif.la
|
|
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}/html
|
2007-03-29 09:39:14 -04:00
|
|
|
.for d in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$d ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.for h in ${HTMLDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/$h ${DOCSDIR}/html
|
|
|
|
.endfor
|
2001-11-02 16:13:35 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|