aboutsummaryrefslogtreecommitdiff
path: root/devel/leoarg
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-20 15:20:38 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-20 15:20:38 +0000
commite1f674b0b564898810276097dd1db929f7bbd839 (patch)
tree668495f73e1ac70dfd9ff6028aa7ae24d9a2f7dc /devel/leoarg
parent9e3da593d2b8eb711044789d0248d901ce4777a0 (diff)
downloadports-e1f674b0b564898810276097dd1db929f7bbd839.tar.gz
ports-e1f674b0b564898810276097dd1db929f7bbd839.zip
Notes
Diffstat (limited to 'devel/leoarg')
-rw-r--r--devel/leoarg/Makefile18
-rw-r--r--devel/leoarg/distinfo2
-rw-r--r--devel/leoarg/pkg-plist74
3 files changed, 54 insertions, 40 deletions
diff --git a/devel/leoarg/Makefile b/devel/leoarg/Makefile
index 2975ba317846..ba041c693f84 100644
--- a/devel/leoarg/Makefile
+++ b/devel/leoarg/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= leoarg
-PORTVERSION= 2.2.2
+PORTVERSION= 2.2.3
CATEGORIES= devel
MASTER_SITES= http://home.pages.at/kingleo/development/
DISTNAME= LeoArg-${PORTVERSION}
@@ -22,4 +22,20 @@ MAN3= LeoArg.3 LeoArg__InvalidOption.3 LeoArg__InvalidSetting.3 \
LeoArg__Option.3 LeoArg__Setting.3 LeoArg_cpp.3 LeoArg_hh.3 \
StringUtils_cpp.3 StringUtils_hh.3 namespace_StringUtils.3
+post-patch:
+.for file in Makefile.in doc/Makefile.in
+ @${PERL} -pi -e 's|^docdir|#docdir|g ; \
+ s| install-data-local||g' ${WRKSRC}/${file}
+.endfor
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/html/*.* ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+.for file in Makefile demo.sh leoargmain.cpp
+ ${INSTALL_DATA} ${WRKSRC}/example/${file} ${EXAMPLESDIR}
+.endfor
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/leoarg/distinfo b/devel/leoarg/distinfo
index 9b95a07ed203..6155346ecd70 100644
--- a/devel/leoarg/distinfo
+++ b/devel/leoarg/distinfo
@@ -1 +1 @@
-MD5 (LeoArg-2.2.2.tar.gz) = bebb3de3d8e5ccc32b658606a063b2ad
+MD5 (LeoArg-2.2.3.tar.gz) = 58377e71ebc1e0c494105f031d7590ff
diff --git a/devel/leoarg/pkg-plist b/devel/leoarg/pkg-plist
index 5b6ad64c7c78..72daf861a1e9 100644
--- a/devel/leoarg/pkg-plist
+++ b/devel/leoarg/pkg-plist
@@ -2,41 +2,39 @@ include/LeoArg.hh
lib/libLeoArg.a
lib/libLeoArg.so
lib/libLeoArg.so.2
-share/doc/LeoArg/example/Makefile
-share/doc/LeoArg/example/demo.sh
-share/doc/LeoArg/example/leoargdemo
-share/doc/LeoArg/example/leoargmain.cpp
-share/doc/LeoArg/html/LeoArg_cpp-source.html
-share/doc/LeoArg/html/LeoArg_cpp.html
-share/doc/LeoArg/html/LeoArg_hh-source.html
-share/doc/LeoArg/html/LeoArg_hh.html
-share/doc/LeoArg/html/StringUtils_cpp-source.html
-share/doc/LeoArg/html/StringUtils_cpp.html
-share/doc/LeoArg/html/StringUtils_hh-source.html
-share/doc/LeoArg/html/StringUtils_hh.html
-share/doc/LeoArg/html/annotated.html
-share/doc/LeoArg/html/class_LeoArg-members.html
-share/doc/LeoArg/html/class_LeoArg.html
-share/doc/LeoArg/html/class_LeoArg__InvalidOption-members.html
-share/doc/LeoArg/html/class_LeoArg__InvalidOption.html
-share/doc/LeoArg/html/class_LeoArg__InvalidSetting-members.html
-share/doc/LeoArg/html/class_LeoArg__InvalidSetting.html
-share/doc/LeoArg/html/class_LeoArg__Option-members.html
-share/doc/LeoArg/html/class_LeoArg__Option.html
-share/doc/LeoArg/html/class_LeoArg__Setting-members.html
-share/doc/LeoArg/html/class_LeoArg__Setting.html
-share/doc/LeoArg/html/doxygen.css
-share/doc/LeoArg/html/doxygen.gif
-share/doc/LeoArg/html/examples.html
-share/doc/LeoArg/html/files.html
-share/doc/LeoArg/html/functions.html
-share/doc/LeoArg/html/globals.html
-share/doc/LeoArg/html/index.html
-share/doc/LeoArg/html/leoargmain_cpp-example.html
-share/doc/LeoArg/html/namespace_StringUtils.html
-share/doc/LeoArg/html/namespacemembers.html
-share/doc/LeoArg/html/namespaces.html
-share/doc/LeoArg/html/null.gif
-@dirrm share/doc/LeoArg/example
-@dirrm share/doc/LeoArg/html
-@dirrm share/doc/LeoArg
+%%PORTDOCS%%share/doc/leoarg/LeoArg_cpp-source.html
+%%PORTDOCS%%share/doc/leoarg/LeoArg_cpp.html
+%%PORTDOCS%%share/doc/leoarg/LeoArg_hh-source.html
+%%PORTDOCS%%share/doc/leoarg/LeoArg_hh.html
+%%PORTDOCS%%share/doc/leoarg/StringUtils_cpp-source.html
+%%PORTDOCS%%share/doc/leoarg/StringUtils_cpp.html
+%%PORTDOCS%%share/doc/leoarg/StringUtils_hh-source.html
+%%PORTDOCS%%share/doc/leoarg/StringUtils_hh.html
+%%PORTDOCS%%share/doc/leoarg/annotated.html
+%%PORTDOCS%%share/doc/leoarg/class_LeoArg-members.html
+%%PORTDOCS%%share/doc/leoarg/class_LeoArg.html
+%%PORTDOCS%%share/doc/leoarg/class_LeoArg__InvalidOption-members.html
+%%PORTDOCS%%share/doc/leoarg/class_LeoArg__InvalidOption.html
+%%PORTDOCS%%share/doc/leoarg/class_LeoArg__InvalidSetting-members.html
+%%PORTDOCS%%share/doc/leoarg/class_LeoArg__InvalidSetting.html
+%%PORTDOCS%%share/doc/leoarg/class_LeoArg__Option-members.html
+%%PORTDOCS%%share/doc/leoarg/class_LeoArg__Option.html
+%%PORTDOCS%%share/doc/leoarg/class_LeoArg__Setting-members.html
+%%PORTDOCS%%share/doc/leoarg/class_LeoArg__Setting.html
+%%PORTDOCS%%share/doc/leoarg/doxygen.css
+%%PORTDOCS%%share/doc/leoarg/doxygen.gif
+%%PORTDOCS%%share/doc/leoarg/examples.html
+%%PORTDOCS%%share/doc/leoarg/files.html
+%%PORTDOCS%%share/doc/leoarg/functions.html
+%%PORTDOCS%%share/doc/leoarg/globals.html
+%%PORTDOCS%%share/doc/leoarg/index.html
+%%PORTDOCS%%share/doc/leoarg/leoargmain_cpp-example.html
+%%PORTDOCS%%share/doc/leoarg/namespace_StringUtils.html
+%%PORTDOCS%%share/doc/leoarg/namespacemembers.html
+%%PORTDOCS%%share/doc/leoarg/namespaces.html
+%%PORTDOCS%%share/doc/leoarg/null.gif
+%%PORTDOCS%%share/examples/leoarg/Makefile
+%%PORTDOCS%%share/examples/leoarg/demo.sh
+%%PORTDOCS%%share/examples/leoarg/leoargmain.cpp
+%%PORTDOCS%%@dirrm share/examples/leoarg
+%%PORTDOCS%%@dirrm share/doc/leoarg