pkgsrc/devel/pdcurses/Makefile

53 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.11 2016/10/10 02:14:15 mef Exp $
Updated devel/pdcurses to 3.4 ----------------------------- PDCurses 3.4 - 2008/09/08 ========================= Nothing much new this time, but I've been sitting on some bug fixes for almost a year, so it's overdue. Apart from bugs, the main changes are in the documentation. New features: - setsyx() is now a function rather than a macro. Bug fixes and such: - In x11, the xc_atrtab table size was under-calculated by half, resulting in crashes at (oddly) certain line counts. (It should've crashed a lot more.) Reported by Mark Hessling. - Test for moved cursor was omitting the window origin offset. Reported by Carey Evans. - Is DOS and OS/2, the value for max items in key_table was still wrong. Reported by C.E. - Changed isendwin() so it won't crash after delscreen(). - Ensure zero-termination in PDC_mbstowcs() and PDC_wcstombs(). - Disable QuickEdit Mode when enabling mouse input for the Win32 console; reported by "Zalapkrakna". - Fix for building under Innotek C (I hope). Report by Elbert Pol, fix courtesy of Paul Smedley. - Unified exports list with no duplicates -- pdcurses.def is now built from components at compile time. - Don't install curspriv.h, and don't include it with binary distributions. - Building DLLs with LCC is no longer supported, due to the primitive nature of its make.exe. - Export the terminfo stub functions from the DLLs, too. - Added support for Apple's ".dylib" in configure. Suggested by Marc Vaillant (who says it's needed with OS 10.5.) - In sdl1/Makefile.mng, ensure that CC is set. - In the gcc makefiles, "$?" didn't really have the desired effect -- _all_ the dependencies showed up on the command line, including curses.h, and pdcurses.a twice. And apparently, this can mess up some old version (?) of MinGW. So, revert to spelling out "tuidemo.o tui.o". Reported by "Howard L." - Extensive documentation revision and reorganizing. More to do here. For example, I moved the build instructions from INSTALL (which never really described installation) to the platform-specific READMEs. - New indentation standard: four spaces, no tabs.
2016-10-10 04:12:57 +02:00
DISTNAME= PDCurses-3.4
PKGNAME= ${DISTNAME:tl}
CATEGORIES= devel x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pdcurses/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pdcurses.sourceforge.net/
COMMENT= Public domain implementation of the X/Open curses standard
Updated devel/pdcurses to 3.4 ----------------------------- PDCurses 3.4 - 2008/09/08 ========================= Nothing much new this time, but I've been sitting on some bug fixes for almost a year, so it's overdue. Apart from bugs, the main changes are in the documentation. New features: - setsyx() is now a function rather than a macro. Bug fixes and such: - In x11, the xc_atrtab table size was under-calculated by half, resulting in crashes at (oddly) certain line counts. (It should've crashed a lot more.) Reported by Mark Hessling. - Test for moved cursor was omitting the window origin offset. Reported by Carey Evans. - Is DOS and OS/2, the value for max items in key_table was still wrong. Reported by C.E. - Changed isendwin() so it won't crash after delscreen(). - Ensure zero-termination in PDC_mbstowcs() and PDC_wcstombs(). - Disable QuickEdit Mode when enabling mouse input for the Win32 console; reported by "Zalapkrakna". - Fix for building under Innotek C (I hope). Report by Elbert Pol, fix courtesy of Paul Smedley. - Unified exports list with no duplicates -- pdcurses.def is now built from components at compile time. - Don't install curspriv.h, and don't include it with binary distributions. - Building DLLs with LCC is no longer supported, due to the primitive nature of its make.exe. - Export the terminfo stub functions from the DLLs, too. - Added support for Apple's ".dylib" in configure. Suggested by Marc Vaillant (who says it's needed with OS 10.5.) - In sdl1/Makefile.mng, ensure that CC is set. - In the gcc makefiles, "$?" didn't really have the desired effect -- _all_ the dependencies showed up on the command line, including curses.h, and pdcurses.a twice. And apparently, this can mess up some old version (?) of MinGW. So, revert to spelling out "tuidemo.o tui.o". Reported by "Howard L." - Extensive documentation revision and reorganizing. More to do here. For example, I moved the build instructions from INSTALL (which never really described installation) to the platform-specific READMEs. - New indentation standard: four spaces, no tabs.
2016-10-10 04:12:57 +02:00
#LICENSE= See README, Legal Stuff part, starting with:
# The core package is in the public domain, but small portions of PDCurses
Updated devel/pdcurses to 3.4 ----------------------------- PDCurses 3.4 - 2008/09/08 ========================= Nothing much new this time, but I've been sitting on some bug fixes for almost a year, so it's overdue. Apart from bugs, the main changes are in the documentation. New features: - setsyx() is now a function rather than a macro. Bug fixes and such: - In x11, the xc_atrtab table size was under-calculated by half, resulting in crashes at (oddly) certain line counts. (It should've crashed a lot more.) Reported by Mark Hessling. - Test for moved cursor was omitting the window origin offset. Reported by Carey Evans. - Is DOS and OS/2, the value for max items in key_table was still wrong. Reported by C.E. - Changed isendwin() so it won't crash after delscreen(). - Ensure zero-termination in PDC_mbstowcs() and PDC_wcstombs(). - Disable QuickEdit Mode when enabling mouse input for the Win32 console; reported by "Zalapkrakna". - Fix for building under Innotek C (I hope). Report by Elbert Pol, fix courtesy of Paul Smedley. - Unified exports list with no duplicates -- pdcurses.def is now built from components at compile time. - Don't install curspriv.h, and don't include it with binary distributions. - Building DLLs with LCC is no longer supported, due to the primitive nature of its make.exe. - Export the terminfo stub functions from the DLLs, too. - Added support for Apple's ".dylib" in configure. Suggested by Marc Vaillant (who says it's needed with OS 10.5.) - In sdl1/Makefile.mng, ensure that CC is set. - In the gcc makefiles, "$?" didn't really have the desired effect -- _all_ the dependencies showed up on the command line, including curses.h, and pdcurses.a twice. And apparently, this can mess up some old version (?) of MinGW. So, revert to spelling out "tuidemo.o tui.o". Reported by "Howard L." - Extensive documentation revision and reorganizing. More to do here. For example, I moved the build instructions from INSTALL (which never really described installation) to the platform-specific READMEs. - New indentation standard: four spaces, no tabs.
2016-10-10 04:12:57 +02:00
# are subject to copyright under various licenses
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
MAKE_JOBS_SAFE= no
CONFIGURE_ARGS+= --with-x
CONFIGURE_ENV+= X11BASE=${X11BASE:Q}
# PDCURSES_XAW is the name of the Xaw library.
#
# XXX This information should really be provided by the various Xaw-like
# XXX buildlink3.mk files.
#
PDCURSES_XAW.3d= Xaw3d
PDCURSES_XAW.neXtaw= neXtaw
PDCURSES_XAW.xpm= Xaw3d
PDCURSES_XAW.standard= Xaw
PDCURSES_XAW= ${PDCURSES_XAW.${XAW_TYPE}}
CONFIGURE_ENV+= PDCURSES_XAW=${PDCURSES_XAW:Q}
REPLACE_SH= x11/xcurses-config.in
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
Updated devel/pdcurses to 3.4 ----------------------------- PDCurses 3.4 - 2008/09/08 ========================= Nothing much new this time, but I've been sitting on some bug fixes for almost a year, so it's overdue. Apart from bugs, the main changes are in the documentation. New features: - setsyx() is now a function rather than a macro. Bug fixes and such: - In x11, the xc_atrtab table size was under-calculated by half, resulting in crashes at (oddly) certain line counts. (It should've crashed a lot more.) Reported by Mark Hessling. - Test for moved cursor was omitting the window origin offset. Reported by Carey Evans. - Is DOS and OS/2, the value for max items in key_table was still wrong. Reported by C.E. - Changed isendwin() so it won't crash after delscreen(). - Ensure zero-termination in PDC_mbstowcs() and PDC_wcstombs(). - Disable QuickEdit Mode when enabling mouse input for the Win32 console; reported by "Zalapkrakna". - Fix for building under Innotek C (I hope). Report by Elbert Pol, fix courtesy of Paul Smedley. - Unified exports list with no duplicates -- pdcurses.def is now built from components at compile time. - Don't install curspriv.h, and don't include it with binary distributions. - Building DLLs with LCC is no longer supported, due to the primitive nature of its make.exe. - Export the terminfo stub functions from the DLLs, too. - Added support for Apple's ".dylib" in configure. Suggested by Marc Vaillant (who says it's needed with OS 10.5.) - In sdl1/Makefile.mng, ensure that CC is set. - In the gcc makefiles, "$?" didn't really have the desired effect -- _all_ the dependencies showed up on the command line, including curses.h, and pdcurses.a twice. And apparently, this can mess up some old version (?) of MinGW. So, revert to spelling out "tuidemo.o tui.o". Reported by "Howard L." - Extensive documentation revision and reorganizing. More to do here. For example, I moved the build instructions from INSTALL (which never really described installation) to the platform-specific READMEs. - New indentation standard: four spaces, no tabs.
2016-10-10 04:12:57 +02:00
INSTALLATION_DIRS+= ${DOCDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/PDCurses.txt ${DESTDIR}${DOCDIR}
.include "../../mk/xaw.buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"