diff options
Diffstat (limited to 'graphics/gd/Makefile')
-rw-r--r-- | graphics/gd/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile index 3a67bd9a3207..b0d7e82fb62f 100644 --- a/graphics/gd/Makefile +++ b/graphics/gd/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> |