mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Fix plist: Collect files from EXAMPLESDIR, too
- Pet portlint Noticed by: oliver
This commit is contained in:
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
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue