- Fix plist: Collect files from EXAMPLESDIR, too

- Pet portlint

Noticed by: oliver
This commit is contained in:
Volker Stolz 2005-06-01 07:26:42 +00:00
parent cad0d69b82
commit f0f61017fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136581
2 changed files with 9 additions and 4 deletions

View file

@ -20,8 +20,13 @@ USE_INC_LIBTOOL_VER= 13
LIBTOOLFLAGS= --disable-ltlibs --disable-static
INSTALLS_SHLIB= yes
PLIST_FILES= include/LeoArg.hh lib/libLeoArg.so lib/libLeoArg.so.2
PLIST_FILES= include/LeoArg.hh lib/libLeoArg.so lib/libLeoArg.so.2 \
${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
.if !defined(NOPORTDOCS)
EXAMPLES= Makefile demo.sh leoargmain.cpp
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= *
.endif
MAN3= LeoArg.3 LeoArg__InvalidOption.3 LeoArg__InvalidSetting.3 \
LeoArg__Option.3 LeoArg__Setting.3 LeoArg_cpp.3 LeoArg_hh.3 \
@ -38,8 +43,8 @@ post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/html/*.* ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
.for file in Makefile demo.sh leoargmain.cpp
${INSTALL_DATA} ${WRKSRC}/example/${file} ${EXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/example/${f} ${EXAMPLESDIR}
.endfor
.endif

View file

@ -1,4 +1,4 @@
With this class you can parse easily commandline options. The class
only uses standard libraries.
WWW: http://kingleo.home.pages.at/index.php?language=EN&show=/development/cpp/#leoarg
WWW: http://kingleo.pages.at/index_cpp.xml.php#leoarg