summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/gperf/Makefile4
-rw-r--r--devel/gperf/pkg-plist4
2 files changed, 6 insertions, 2 deletions
diff --git a/devel/gperf/Makefile b/devel/gperf/Makefile
index 7bb615b6880b..51c3803cdf2d 100644
--- a/devel/gperf/Makefile
+++ b/devel/gperf/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gperf
PORTVERSION= 2.7.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gperf
@@ -17,4 +18,7 @@ COMMENT= Generates perfect hash functions for sets of keywords
GNU_CONFIGURE= yes
MAN1= gperf.1
+post-install:
+ install-info ${PREFIX}/info/gperf.info ${PREFIX}/info/dir
+
.include <bsd.port.mk>
diff --git a/devel/gperf/pkg-plist b/devel/gperf/pkg-plist
index 3afa5ef0ac46..43ea27778551 100644
--- a/devel/gperf/pkg-plist
+++ b/devel/gperf/pkg-plist
@@ -2,5 +2,5 @@ bin/gperf
@unexec install-info --delete %D/info/gperf.info %D/info/dir
info/gperf.info
@exec install-info %D/info/gperf.info %D/info/dir
-share/doc/gperf/gperf.html
-@dirrm share/doc/gperf
+%%DOCSDIR%%/gperf.html
+@dirrm %%DOCSDIR%%