diff options
author | itetcu <itetcu@FreeBSD.org> | 2008-11-17 05:58:04 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2008-11-17 05:58:04 +0800 |
commit | 49dc3fd662e8b94d12f2d3e4860bde4103527e28 (patch) | |
tree | 346f0bf51c2f9f1dd7d04defbe0ae1538758c643 /devel | |
parent | 09e9d38f3b94fa6c5f35289d8450951bf06a1599 (diff) | |
download | freebsd-ports-gnome-49dc3fd662e8b94d12f2d3e4860bde4103527e28.tar.gz freebsd-ports-gnome-49dc3fd662e8b94d12f2d3e4860bde4103527e28.tar.zst freebsd-ports-gnome-49dc3fd662e8b94d12f2d3e4860bde4103527e28.zip |
- use DOCSDIR macro
- fix plist for -DNOPORTDOCS
- bump PORTREVISION
Approved by: maintainer timeout on QAT BotMail
Prompted by: QAT QA run
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cons/Makefile | 6 | ||||
-rw-r--r-- | devel/cons/pkg-plist | 20 |
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%% |