Install the HTML documentation.

Approved by:	silence on -ports
This commit is contained in:
Peter Pentchev 2001-10-26 12:07:02 +00:00
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

View file

@ -7,7 +7,7 @@
PORTNAME= gd
PORTVERSION= 1.8.4
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES+= graphics
MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/ \
@ -35,6 +35,8 @@ USE_XPM= yes
INSTALLS_SHLIB= yes
DOCS= index.html
post-extract:
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"
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -17,4 +17,6 @@ include/gd/gdfontt.h
lib/libgd.a
lib/libgd.so
lib/libgd.so.2
%%PORTDOCS%%share/doc/gd/index.html
%%PORTDOCS%%@dirrm share/doc/gd
@dirrm include/gd

View file

@ -7,7 +7,7 @@
PORTNAME= gd
PORTVERSION= 1.8.4
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES+= graphics
MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/ \
@ -35,6 +35,8 @@ USE_XPM= yes
INSTALLS_SHLIB= yes
DOCS= index.html
post-extract:
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"
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -17,4 +17,6 @@ include/gd/gdfontt.h
lib/libgd.a
lib/libgd.so
lib/libgd.so.2
%%PORTDOCS%%share/doc/gd/index.html
%%PORTDOCS%%@dirrm share/doc/gd
@dirrm include/gd