From 127ec700fea7f1cb4c218fcfaf3a119b553444d6 Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Fri, 27 Jun 2008 21:21:19 +0000 Subject: - use PORTDOCS, DOCSDIR macros - fix plist for -DNOPORTDOCS - move pkg-message to SUB_FILES - bump PORTREVISION --- graphics/gracula/Makefile | 9 ++++++--- graphics/gracula/files/pkg-message.in | 14 ++++++++++++++ graphics/gracula/pkg-message | 13 ------------- graphics/gracula/pkg-plist | 6 +++--- 4 files changed, 23 insertions(+), 19 deletions(-) create mode 100644 graphics/gracula/files/pkg-message.in delete mode 100644 graphics/gracula/pkg-message (limited to 'graphics/gracula') diff --git a/graphics/gracula/Makefile b/graphics/gracula/Makefile index 335fe742871f..ed753ca3abdc 100644 --- a/graphics/gracula/Makefile +++ b/graphics/gracula/Makefile @@ -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} diff --git a/graphics/gracula/files/pkg-message.in b/graphics/gracula/files/pkg-message.in new file mode 100644 index 000000000000..b844528c0391 --- /dev/null +++ b/graphics/gracula/files/pkg-message.in @@ -0,0 +1,14 @@ + + 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/ + You should read both to take full advantage of the power + of Graphic Counter Language. + + Also, sample scripts and graphics are available from + Count Gracula's Gallery, + http://www.whizkidtech.redprince.net/gcl/gallery/ + diff --git a/graphics/gracula/pkg-message b/graphics/gracula/pkg-message deleted file mode 100644 index b638de8677bc..000000000000 --- a/graphics/gracula/pkg-message +++ /dev/null @@ -1,13 +0,0 @@ - - Please read the file ${PREFIX}/share/doc/gracula/README - to learn how to use Graphic Counter Language. - - An introductory tutorial, and a GCL FAQ, can be found at - http://www.whizkidtech.redprince.net/gcl/ - You should read both to take full advantage of the power - of Graphic Counter Language. - - Also, sample scripts and graphics are available from - Count Gracula's Gallery, - http://www.whizkidtech.redprince.net/gcl/gallery/ - diff --git a/graphics/gracula/pkg-plist b/graphics/gracula/pkg-plist index 22d5907dcad3..bb0d061844b7 100644 --- a/graphics/gracula/pkg-plist +++ b/graphics/gracula/pkg-plist @@ -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%% -- cgit v1.2.3