aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-11-16 21:58:04 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-11-16 21:58:04 +0000
commita1a8e27454fa54cb049e9b895db1732b7aacbc8e (patch)
treeb23776b21b4d5d56a16596e2f0ca0930f30a6128 /devel
parent1c01c6a60549cabc9eef2075d78f3ce6ab886096 (diff)
downloadports-a1a8e27454fa54cb049e9b895db1732b7aacbc8e.tar.gz
ports-a1a8e27454fa54cb049e9b895db1732b7aacbc8e.zip
Notes
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%%