42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2006/01/08 00:29:38 steven Exp $
|
|
|
|
COMMENT= "tools and library routines for working with GIF images"
|
|
|
|
DISTNAME= libungif-4.1.4
|
|
SHARED_LIBS= gif 5.4 \
|
|
ungif 5.4
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libungif/}
|
|
|
|
HOMEPAGE= http://sourceforge.net/projects/libungif/
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c m
|
|
|
|
USE_LIBTOOL= Yes
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION= 2.59
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --without-x
|
|
|
|
DOCS= README UNCOMPRESSED_GIF
|
|
HTMLDOCS= *.html *.txt *.png
|
|
DOCSDIR= ${PREFIX}/share/doc/libungif
|
|
|
|
post-install:
|
|
@cd ${PREFIX}/lib; \
|
|
ln -s libungif.a libgif.a && \
|
|
ln -s libungif.so.${LIBungif_VERSION} libgif.so.${LIBgif_VERSION} && \
|
|
sed -e s#libungif#libgif#g libungif.la > libgif.la && \
|
|
chown ${LIBOWN}:${LIBGRP} libgif.la && \
|
|
chmod 755 libgif.la
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}/html
|
|
cd ${WRKSRC}/doc; ${INSTALL_DATA} ${HTMLDOCS} ${DOCSDIR}/html
|
|
|
|
.include <bsd.port.mk>
|