- update to 4.2.1
- use standard option DOC
This commit is contained in:
parent
17537c7f58
commit
d686b71130
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312782
2 changed files with 6 additions and 7 deletions
|
@ -2,8 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= giflib
|
||||
PORTVERSION= 4.2.0
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 4.2.1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-4.x
|
||||
PKGNAMESUFFIX= ${NOX11SUFFIX}${PKGNAMESUFFIX2}
|
||||
|
@ -20,7 +19,7 @@ USE_LDCONFIG= yes
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
BUILD_DEPENDS+= xmlto:${PORTSDIR}/textproc/xmlto \
|
||||
${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-sk
|
||||
.endif
|
||||
|
@ -37,13 +36,13 @@ CPPFLAGS+= -I${LOCALBASE}/include
|
|||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/quantize.c ${WRKSRC}/lib/
|
||||
.if defined(NOPORTDOCS)
|
||||
.if ! ${PORT_OPTIONS:MDOCS}
|
||||
${REINPLACE_CMD} -e 's|SUBDIRS = lib util doc pic|SUBDIRS = lib util pic|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (giflib-4.2.0.tar.bz2) = 5f3e06e025b87c13eeb3ee46dc9881398bdf7ad578d8135548e1ae3073a4c8ce
|
||||
SIZE (giflib-4.2.0.tar.bz2) = 522255
|
||||
SHA256 (giflib-4.2.1.tar.bz2) = 3f6c9dea12e41d00e253f7465d714d09248a8bcbed3415c25fd9ce50a1cdded6
|
||||
SIZE (giflib-4.2.1.tar.bz2) = 522178
|
||||
|
|
Loading…
Reference in a new issue