40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2004/04/24 22:46:13 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= Xdialog-2.1.1
|
|
PKGNAME= ${DISTNAME:S/^X/x/}
|
|
PKGREVISION= 1
|
|
CATEGORIES= x11 misc
|
|
MASTER_SITES= http://thgodef.nerim.net/xdialog/ \
|
|
http://thgodef.nerim.net/xdialog/archives/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://xdialog.dyns.net/
|
|
COMMENT= X11 drop-in replacement for the curses dialog program
|
|
|
|
BUILD_USES_MSGFMT= YES
|
|
|
|
USE_BUILDLINK3= YES
|
|
USE_PKGLOCALEDIR= YES
|
|
GNU_CONFIGURE= YES
|
|
USE_X11= YES
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/html/xdialog
|
|
EGDIR= ${PREFIX}/share/examples/xdialog
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.png ${DOCDIR}
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
for f in Xmessage Xmore buildlist calendar chain checklist \
|
|
dselect editbox fselect gauge infobox infobox2 inputbox \
|
|
logbox logbox2 login menubox msgbox radiolist rangebox \
|
|
tailbox textbox timebox treeview yesno; \
|
|
do \
|
|
${INSTALL_SCRIPT} ${WRKSRC}/samples/$${f} ${EGDIR}; \
|
|
done
|
|
|
|
.include "../../x11/gtk/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|