1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Add samples & correct manual

PR:		ports/105799
Submitted by:	Atom Smasher <atom _at_ smasher dot org>, ijliao@
Approved by:	delphij (mentor)
This commit is contained in:
Chin-San Huang 2006-12-01 19:24:54 +00:00
parent 5955ee8c6f
commit e209306c4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178499
2 changed files with 42 additions and 1 deletions

View File

@ -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>

View File

@ -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