aboutsummaryrefslogtreecommitdiff
path: root/devel/gperf
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-10-03 12:18:43 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-10-03 12:18:43 +0000
commit7f6e7c94bc288827367ac67296853421b0960736 (patch)
treea2ed72ad7685ba1f45cf6ad7567bdaa717073227 /devel/gperf
parent8647e47ef865b2c6f9023c8e75230b14a3d20d33 (diff)
downloadports-7f6e7c94bc288827367ac67296853421b0960736.tar.gz
ports-7f6e7c94bc288827367ac67296853421b0960736.zip
- use %%DOCSDIR%%
- add info pages to the index
Notes
Notes: svn path=/head/; revision=90108
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%%