30 lines
817 B
Makefile
30 lines
817 B
Makefile
# $NetBSD: Makefile,v 1.5 2012/10/03 08:15:51 asau Exp $
|
|
|
|
DISTNAME= libdialog-0.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://energyhq.homeip.net/files/
|
|
|
|
MAINTAINER= flynn@energyhq.homeip.net
|
|
COMMENT= Port of FreeBSD's console menu system
|
|
|
|
USE_NCURSES= YES
|
|
|
|
INSTALLATION_DIRS= include lib
|
|
|
|
do-install:
|
|
for i in libdialog.so libdialog.so.0 libdialog.so.0.4; \
|
|
do \
|
|
${INSTALL_PROGRAM} ${WRKSRC}/$${i} ${DESTDIR}${PREFIX}/lib; \
|
|
done
|
|
for i in colors.h rc.h dialog.h dir.h ui_objects.h; \
|
|
do \
|
|
${INSTALL_DATA} ${WRKSRC}/$${i} ${DESTDIR}${PREFIX}/include; \
|
|
done
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libdialog
|
|
for i in ${WRKSRC}/TESTS/*; \
|
|
do \
|
|
${INSTALL_DATA} $${i} ${DESTDIR}${PREFIX}/share/examples/libdialog; \
|
|
done
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|