From 28838f1253e1b412c23a7617402bd2a4292f728e Mon Sep 17 00:00:00 2001 From: itetcu Date: Fri, 27 Jun 2008 11:53:42 +0000 Subject: - use PORTDOCS, DOCSDIR macros - fix plist for -DNOPORTDOCS - bump PORTREVISION Submitted by: QA Tindy run --- textproc/sgmls/Makefile | 5 +++-- textproc/sgmls/pkg-plist | 14 +++++++------- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'textproc') 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%% -- cgit