From 68b00bd83919988da7910edf2c4c24d06576614d Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Fri, 26 Oct 2001 12:07:02 +0000 Subject: Install the HTML documentation. Approved by: silence on -ports --- graphics/gd1/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'graphics/gd1/Makefile') 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 -- cgit v1.2.3