aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/cons/Makefile6
-rw-r--r--devel/cons/pkg-plist20
2 files changed, 14 insertions, 12 deletions
diff --git a/devel/cons/Makefile b/devel/cons/Makefile
index d577a7cb8e1f..a31c2565dfe8 100644
--- a/devel/cons/Makefile
+++ b/devel/cons/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cons
PORTVERSION= 2.2.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.dsmit.com/cons/stable/ \
http://www.gnu.org/software/cons/stable/ \
@@ -27,14 +28,15 @@ MANCOMPRESSED= yes
MAN1= cons.1
DOCS= CHANGES COPYING COPYRIGHT INSTALL MANIFEST README RELEASE \
cons.html TODO
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cons ${PREFIX}/bin/cons
${INSTALL_MAN} ${WRKSRC}/cons.1.gz ${PREFIX}/man/man1/cons.1.gz
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/${PKGNAME}
+ ${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
- ${INSTALL} -c ${WRKSRC}/$f ${PREFIX}/share/doc/${PKGNAME}
+ ${INSTALL} -c ${WRKSRC}/$f ${DOCSDIR}
.endfor
.endif
diff --git a/devel/cons/pkg-plist b/devel/cons/pkg-plist
index d231b0a72766..5724144f2d19 100644
--- a/devel/cons/pkg-plist
+++ b/devel/cons/pkg-plist
@@ -1,11 +1,11 @@
bin/cons
-share/doc/cons-%%CONS_VER%%/CHANGES
-share/doc/cons-%%CONS_VER%%/COPYING
-share/doc/cons-%%CONS_VER%%/COPYRIGHT
-share/doc/cons-%%CONS_VER%%/INSTALL
-share/doc/cons-%%CONS_VER%%/MANIFEST
-share/doc/cons-%%CONS_VER%%/README
-share/doc/cons-%%CONS_VER%%/RELEASE
-share/doc/cons-%%CONS_VER%%/TODO
-share/doc/cons-%%CONS_VER%%/cons.html
-@dirrm share/doc/cons-%%CONS_VER%%
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/MANIFEST
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/RELEASE
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/cons.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%