Install the HTML documentation.
Approved by: silence on -ports
This commit is contained in:
parent
88b7521cc9
commit
68b00bd839
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49217
4 changed files with 22 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= gd
|
PORTNAME= gd
|
||||||
PORTVERSION= 1.8.4
|
PORTVERSION= 1.8.4
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES+= graphics
|
CATEGORIES+= graphics
|
||||||
MASTER_SITES= http://www.boutell.com/gd/http/ \
|
MASTER_SITES= http://www.boutell.com/gd/http/ \
|
||||||
ftp://ftp.boutell.com/pub/boutell/gd/ \
|
ftp://ftp.boutell.com/pub/boutell/gd/ \
|
||||||
|
@ -35,6 +35,8 @@ USE_XPM= yes
|
||||||
|
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
|
DOCS= index.html
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
bzip2 -d < ${_DISTDIR}/gd_gif_in.c.bz2 > ${WRKSRC}/gd_gif_in.c
|
bzip2 -d < ${_DISTDIR}/gd_gif_in.c.bz2 > ${WRKSRC}/gd_gif_in.c
|
||||||
|
|
||||||
|
@ -44,4 +46,10 @@ pre-everything:
|
||||||
@${ECHO_MSG} "'make -DWITH_X11' instead"
|
@${ECHO_MSG} "'make -DWITH_X11' instead"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
${MKDIR} ${DOCSDIR}
|
||||||
|
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -17,4 +17,6 @@ include/gd/gdfontt.h
|
||||||
lib/libgd.a
|
lib/libgd.a
|
||||||
lib/libgd.so
|
lib/libgd.so
|
||||||
lib/libgd.so.2
|
lib/libgd.so.2
|
||||||
|
%%PORTDOCS%%share/doc/gd/index.html
|
||||||
|
%%PORTDOCS%%@dirrm share/doc/gd
|
||||||
@dirrm include/gd
|
@dirrm include/gd
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= gd
|
PORTNAME= gd
|
||||||
PORTVERSION= 1.8.4
|
PORTVERSION= 1.8.4
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES+= graphics
|
CATEGORIES+= graphics
|
||||||
MASTER_SITES= http://www.boutell.com/gd/http/ \
|
MASTER_SITES= http://www.boutell.com/gd/http/ \
|
||||||
ftp://ftp.boutell.com/pub/boutell/gd/ \
|
ftp://ftp.boutell.com/pub/boutell/gd/ \
|
||||||
|
@ -35,6 +35,8 @@ USE_XPM= yes
|
||||||
|
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
|
DOCS= index.html
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
bzip2 -d < ${_DISTDIR}/gd_gif_in.c.bz2 > ${WRKSRC}/gd_gif_in.c
|
bzip2 -d < ${_DISTDIR}/gd_gif_in.c.bz2 > ${WRKSRC}/gd_gif_in.c
|
||||||
|
|
||||||
|
@ -44,4 +46,10 @@ pre-everything:
|
||||||
@${ECHO_MSG} "'make -DWITH_X11' instead"
|
@${ECHO_MSG} "'make -DWITH_X11' instead"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
${MKDIR} ${DOCSDIR}
|
||||||
|
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -17,4 +17,6 @@ include/gd/gdfontt.h
|
||||||
lib/libgd.a
|
lib/libgd.a
|
||||||
lib/libgd.so
|
lib/libgd.so
|
||||||
lib/libgd.so.2
|
lib/libgd.so.2
|
||||||
|
%%PORTDOCS%%share/doc/gd/index.html
|
||||||
|
%%PORTDOCS%%@dirrm share/doc/gd
|
||||||
@dirrm include/gd
|
@dirrm include/gd
|
||||||
|
|
Loading…
Reference in a new issue