make post-install readable again,
some minor cosmestics, and reformat DESCR while there.
This commit is contained in:
parent
dc82592a05
commit
082739fbf5
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2006/10/19 13:26:40 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2007/03/29 13:39:14 jasper Exp $
|
||||
|
||||
COMMENT= "tools and library routines for working with GIF images"
|
||||
|
||||
DISTNAME= libungif-4.1.4
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
SHARED_LIBS= gif 5.4 \
|
||||
ungif 5.4
|
||||
CATEGORIES= graphics
|
||||
@ -13,19 +13,21 @@ HOMEPAGE= http://sourceforge.net/projects/libungif/
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= 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
|
||||
USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE= autoconf
|
||||
AUTOCONF_VERSION= 2.59
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
||||
--without-x
|
||||
|
||||
DOCS= README UNCOMPRESSED_GIF
|
||||
HTMLDOCS= *.html *.txt *.png
|
||||
DOCSDIR= ${PREFIX}/share/doc/libungif
|
||||
DOCS= README UNCOMPRESSED_GIF
|
||||
HTMLDOCS= *.html *.txt *.png
|
||||
DOCSDIR= ${PREFIX}/share/doc/libungif
|
||||
|
||||
MAKE_ENV+= CFLAGS="${CFLAGS}"
|
||||
|
||||
post-install:
|
||||
@cd ${PREFIX}/lib; \
|
||||
@ -34,9 +36,12 @@ post-install:
|
||||
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
|
||||
.for d in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/$d ${DOCSDIR}
|
||||
.endfor
|
||||
.for h in ${HTMLDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/$h ${DOCSDIR}/html
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
GIF loading and saving library. (Saving uses an uncompressed GIF
|
||||
algorithm that does not use LZW compression.)
|
||||
|
||||
See the ${PREFIX}/share/doc/libungif directory for more information
|
||||
on libungif's capabilities.
|
||||
See the ${PREFIX}/share/doc/libungif directory for more information on
|
||||
libungif's capabilities.
|
||||
|
Loading…
x
Reference in New Issue
Block a user