aboutsummaryrefslogtreecommitdiff
path: root/x11/xdialog
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2006-12-01 19:24:54 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2006-12-01 19:24:54 +0000
commite209306c4f87eeca3efa181e4342c2e906d034a1 (patch)
tree27bb17a3ffd8f5d79b7b38db9795595dff137ce2 /x11/xdialog
parent5955ee8c6f9612f195d665ccc889cf273a800c5d (diff)
downloadports-e209306c4f87eeca3efa181e4342c2e906d034a1.tar.gz
ports-e209306c4f87eeca3efa181e4342c2e906d034a1.zip
- Add samples & correct manual
PR: ports/105799 Submitted by: Atom Smasher <atom _at_ smasher dot org>, ijliao@ Approved by: delphij (mentor)
Notes
Notes: svn path=/head/; revision=178499
Diffstat (limited to 'x11/xdialog')
-rw-r--r--x11/xdialog/Makefile6
-rw-r--r--x11/xdialog/pkg-plist37
2 files changed, 42 insertions, 1 deletions
diff --git a/x11/xdialog/Makefile b/x11/xdialog/Makefile
index 3de69a5054e4..8be4d3d6efc3 100644
--- a/x11/xdialog/Makefile
+++ b/x11/xdialog/Makefile
@@ -8,6 +8,7 @@
PORTNAME= xdialog
PORTVERSION= 2.3.1
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://thgodef.nerim.net/xdialog/
DISTNAME= ${PORTNAME:S/x/X/}-${PORTVERSION}
@@ -41,12 +42,15 @@ post-patch:
s|-I../lib||g ; \
s|-L../lib -lgetopt||g ; \
s| install-docDATA||g'
+ @${REINPLACE_CMD} -e 's,Xdialog\\-%%version%%,xdialog,' \
+ ${WRKSRC}/doc/Xdialog.man
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/samples
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/* ${DOCSDIR}/samples
.endif
.include <bsd.port.mk>
diff --git a/x11/xdialog/pkg-plist b/x11/xdialog/pkg-plist
index a4d254192f73..bb5a9a4ed132 100644
--- a/x11/xdialog/pkg-plist
+++ b/x11/xdialog/pkg-plist
@@ -64,6 +64,43 @@ bin/Xdialog
%%PORTDOCS%%%%DOCSDIR%%/withtags.png
%%PORTDOCS%%%%DOCSDIR%%/yesno-wizard.png
%%PORTDOCS%%%%DOCSDIR%%/yesno.png
+%%PORTDOCS%%%%DOCSDIR%%/samples/Xdialog.wrapper.c
+%%PORTDOCS%%%%DOCSDIR%%/samples/Xmessage
+%%PORTDOCS%%%%DOCSDIR%%/samples/Xmore
+%%PORTDOCS%%%%DOCSDIR%%/samples/allrpms
+%%PORTDOCS%%%%DOCSDIR%%/samples/bluebox.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/buildlist
+%%PORTDOCS%%%%DOCSDIR%%/samples/calendar
+%%PORTDOCS%%%%DOCSDIR%%/samples/chain
+%%PORTDOCS%%%%DOCSDIR%%/samples/checklist
+%%PORTDOCS%%%%DOCSDIR%%/samples/dselect
+%%PORTDOCS%%%%DOCSDIR%%/samples/editbox
+%%PORTDOCS%%%%DOCSDIR%%/samples/fixed-font.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/format1440
+%%PORTDOCS%%%%DOCSDIR%%/samples/fselect
+%%PORTDOCS%%%%DOCSDIR%%/samples/gauge
+%%PORTDOCS%%%%DOCSDIR%%/samples/infobox
+%%PORTDOCS%%%%DOCSDIR%%/samples/infobox2
+%%PORTDOCS%%%%DOCSDIR%%/samples/inputbox
+%%PORTDOCS%%%%DOCSDIR%%/samples/install-wrapper
+%%PORTDOCS%%%%DOCSDIR%%/samples/kernel
+%%PORTDOCS%%%%DOCSDIR%%/samples/logbox
+%%PORTDOCS%%%%DOCSDIR%%/samples/logbox2
+%%PORTDOCS%%%%DOCSDIR%%/samples/login
+%%PORTDOCS%%%%DOCSDIR%%/samples/menubox
+%%PORTDOCS%%%%DOCSDIR%%/samples/msgbox
+%%PORTDOCS%%%%DOCSDIR%%/samples/no-entry.xpm
+%%PORTDOCS%%%%DOCSDIR%%/samples/radiolist
+%%PORTDOCS%%%%DOCSDIR%%/samples/rangebox
+%%PORTDOCS%%%%DOCSDIR%%/samples/set-time
+%%PORTDOCS%%%%DOCSDIR%%/samples/tailbox
+%%PORTDOCS%%%%DOCSDIR%%/samples/textbox
+%%PORTDOCS%%%%DOCSDIR%%/samples/timebox
+%%PORTDOCS%%%%DOCSDIR%%/samples/treeview
+%%PORTDOCS%%%%DOCSDIR%%/samples/warning.xpm
+%%PORTDOCS%%%%DOCSDIR%%/samples/xlock-wrapper
+%%PORTDOCS%%%%DOCSDIR%%/samples/yesno
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/samples
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%NLS%%@dirrmtry share/locale/no_NO/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/no_NO