1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- use PORTDOCS, DOCSDIR macros

- fix plist for -DNOPORTDOCS
- move pkg-message to SUB_FILES
- bump PORTREVISION
This commit is contained in:
Ion-Mihai Tetcu 2008-06-27 21:21:19 +00:00
parent d066457c63
commit 127ec700fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215844
3 changed files with 12 additions and 8 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gracula
PORTVERSION= 3.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.whizkidtech.redprince.net/cgi/gcl/ \
http://www.whizkidtech.redprince.net/gcl/
@ -14,13 +15,15 @@ MASTER_SITES= ftp://ftp.whizkidtech.redprince.net/cgi/gcl/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= A Graphic Counter Language compiler/interpreter
SUB_FILES= pkg-message
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gracula ${PREFIX}/bin
$(INSTALL_PROGRAM) ${WRKSRC}/sec2000 ${PREFIX}/bin
.if !defined (NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/gracula
${INSTALL_MAN} ${WRKSRC}/NNL ${PREFIX}/share/doc/gracula
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/gracula
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/NNL ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}

View File

@ -1,6 +1,7 @@
Please read the file ${PREFIX}/share/doc/gracula/README
to learn how to use Graphic Counter Language.
Please read the file %%DOCSDIR%%/README
to learn how to use Graphic Counter Language (if you haven't
installed with -D NOPORTDOCS).
An introductory tutorial, and a GCL FAQ, can be found at
http://www.whizkidtech.redprince.net/gcl/

View File

@ -1,5 +1,5 @@
bin/gracula
bin/sec2000
share/doc/gracula/NNL
share/doc/gracula/README
@dirrm share/doc/gracula
%%PORTDOCS%%%%DOCSDIR%%/NNL
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%