aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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