aboutsummaryrefslogtreecommitdiff
path: root/graphics/gd
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/gd
parent88b7521cc966cf6e7c9e97a071d81131af34baac (diff)
downloadports-68b00bd83919988da7910edf2c4c24d06576614d.tar.gz
ports-68b00bd83919988da7910edf2c4c24d06576614d.zip
Notes
Diffstat (limited to 'graphics/gd')
-rw-r--r--graphics/gd/Makefile10
-rw-r--r--graphics/gd/pkg-plist2
2 files changed, 11 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>
diff --git a/graphics/gd/pkg-plist b/graphics/gd/pkg-plist
index f3c18de0cd63..8a33dbcbf553 100644
--- a/graphics/gd/pkg-plist
+++ b/graphics/gd/pkg-plist
@@ -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