From de004aefea64f72384a6dfc0bcd02b3668a75999 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Mon, 26 May 2014 09:49:24 +0000 Subject: [PATCH] Stage support. PR: ports/189779 Submitted by: Anton Shterenlikht (maintainer) --- devel/robodoc/Makefile | 36 +++++++++++------------------------- devel/robodoc/pkg-plist | 24 ++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 25 deletions(-) create mode 100644 devel/robodoc/pkg-plist diff --git a/devel/robodoc/Makefile b/devel/robodoc/Makefile index 2fbe055bc557..86cc0f885dd1 100644 --- a/devel/robodoc/Makefile +++ b/devel/robodoc/Makefile @@ -15,34 +15,20 @@ LICENSE= GPLv3 GNU_CONFIGURE= yes MAKEFILE= makefile -MAN1= robodoc.1 robohdrs.1 +OPTIONS_DEFINE= DOCS EXAMPLES +DOCS_FILES= AUTHORS ChangeLog NEWS README \ + Docs/manual.html Docs/manual.css Docs/robodoc_example.rc -OPTIONS_DEFINE= DOCS EXAMPLES - -DOCS_FILES= AUTHORS ChangeLog NEWS README Docs/manual.html Docs/manual.css \ - Docs/robodoc_example.rc -PORTDOCS= * -PORTEXAMPLES= * - -PLIST_FILES= bin/robodoc bin/robohdrs - -NO_STAGE= yes .include do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/Source/robodoc ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/Source/robohdrs ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/Docs/robodoc.1 ${MANPREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/Docs/robohdrs.1 ${MANPREFIX}/man/man1 - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOCS_FILES:S,^,${WRKSRC}/,} ${DOCSDIR}/ -.endif - -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/Examples/* ${EXAMPLESDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/Source/robodoc ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/Source/robohdrs ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/Docs/robodoc.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/Docs/robohdrs.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOCS_FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/Examples/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/devel/robodoc/pkg-plist b/devel/robodoc/pkg-plist new file mode 100644 index 000000000000..e559abcf941b --- /dev/null +++ b/devel/robodoc/pkg-plist @@ -0,0 +1,24 @@ +bin/robodoc +bin/robohdrs +man/man1/robodoc.1.gz +man/man1/robohdrs.1.gz +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/manual.css +%%PORTDOCS%%%%DOCSDIR%%/manual.html +%%PORTDOCS%%%%DOCSDIR%%/robodoc_example.rc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PerlExample/Source/Box.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PerlExample/Source/Box/RectangularBox.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PerlExample/Source/Box/SquareBox.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PerlExample/Source/Cargo.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PerlExample/Source/Loader.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PerlExample/Source/SmartLoader.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PerlExample/Source/TruckPacker.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PerlExample/robodoc.rc +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/PerlExample/Source/Box +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/PerlExample/Source +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/PerlExample +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%