summaryrefslogtreecommitdiff
path: root/graphics/gd1/Makefile
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-10-26 12:07:02 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-10-26 12:07:02 +0000
commit68b00bd83919988da7910edf2c4c24d06576614d (patch)
treece00157b4ab54e3965c50fde0e419faac0665882 /graphics/gd1/Makefile
parentadd my entry. (diff)
Install the HTML documentation.
Approved by: silence on -ports
Notes
Notes: svn path=/head/; revision=49217
Diffstat (limited to 'graphics/gd1/Makefile')
-rw-r--r--graphics/gd1/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/gd1/Makefile b/graphics/gd1/Makefile
index 3a67bd9a3207..b0d7e82fb62f 100644
--- a/graphics/gd1/Makefile
+++ b/graphics/gd1/Makefile
@@ -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>