aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gperf
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-10-03 20:18:43 +0800
committerdinoex <dinoex@FreeBSD.org>2003-10-03 20:18:43 +0800
commit5ecfb490314358a8ea780805529a837b7c7947b9 (patch)
treef44e117f56b0c46923d2e95118f323d035f3e882 /devel/gperf
parent72c9945c63150f6445da16a691b5a08e462db47d (diff)
downloadfreebsd-ports-gnome-5ecfb490314358a8ea780805529a837b7c7947b9.tar.gz
freebsd-ports-gnome-5ecfb490314358a8ea780805529a837b7c7947b9.tar.zst
freebsd-ports-gnome-5ecfb490314358a8ea780805529a837b7c7947b9.zip
- use %%DOCSDIR%%
- add info pages to the index
Diffstat (limited to 'devel/gperf')
-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%%