diff options
author | itetcu <itetcu@FreeBSD.org> | 2008-06-27 19:53:42 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2008-06-27 19:53:42 +0800 |
commit | 28838f1253e1b412c23a7617402bd2a4292f728e (patch) | |
tree | 51f4cc966846267d8f828f24544bedc32bd2496b | |
parent | 3e9d5f9e22a84835692a71bb300e49d73cc8c1da (diff) | |
download | freebsd-ports-gnome-28838f1253e1b412c23a7617402bd2a4292f728e.tar.gz freebsd-ports-gnome-28838f1253e1b412c23a7617402bd2a4292f728e.tar.zst freebsd-ports-gnome-28838f1253e1b412c23a7617402bd2a4292f728e.zip |
- use PORTDOCS, DOCSDIR macros
- fix plist for -DNOPORTDOCS
- bump PORTREVISION
Submitted by: QA Tindy run
-rw-r--r-- | textproc/sgmls/Makefile | 5 | ||||
-rw-r--r-- | textproc/sgmls/pkg-plist | 14 |
2 files changed, 10 insertions, 9 deletions
diff --git a/textproc/sgmls/Makefile b/textproc/sgmls/Makefile index 44b6f4d7c8b4..be15c915dd3c 100644 --- a/textproc/sgmls/Makefile +++ b/textproc/sgmls/Makefile @@ -7,6 +7,7 @@ PORTNAME= sgmls PORTVERSION= 1.1.91 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ftp://ftp.jclark.com/pub/sgmls/ EXTRACT_SUFX= .tar.Z @@ -32,9 +33,9 @@ post-build: post-install: .if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" - @-${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + @-${MKDIR} ${DOCSDIR} .for file in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/${PORTNAME} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif diff --git a/textproc/sgmls/pkg-plist b/textproc/sgmls/pkg-plist index c87020a0d018..153ec6e04761 100644 --- a/textproc/sgmls/pkg-plist +++ b/textproc/sgmls/pkg-plist @@ -1,10 +1,10 @@ bin/rast bin/sgmls bin/sgmlsasp -share/doc/sgmls/ChangeLog -share/doc/sgmls/INSTALL -share/doc/sgmls/LICENSE -share/doc/sgmls/NEWS -share/doc/sgmls/README -share/doc/sgmls/TODO -@dirrm share/doc/sgmls +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% |