mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
bbab7f59e9
- Remove all references to defunct ARCH arm - Remove all references to defunct ARCH sparc64 - Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64 ARCH - Remove sysutils/afbinit requires defunct sparc64 ARCH - Remove all references to bktr driver - Remove all references to defunct FreeBSD_12 - Remove all references to OSVERSION/OSREL corresponding to 12 - Remove conditionals in Mk/Uses/cabal.mk - Remove sparc reference from Mk/Uses/qt-dist.mk - Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64 - Remove BROKEN_FreeBSD_12* from: - Remove OpenSSL patches from: - Remove conditional flags for OSVERSION >= 1300000 to fixed flags. Also move conditional flags for non sparc64/arm ARCH to fixed flags. Reviewed by: brooks, jbeich, rene, salvadore Differential Revision: https://reviews.freebsd.org/D42068
103 lines
3.1 KiB
Makefile
103 lines
3.1 KiB
Makefile
PORTNAME= ncurses
|
|
DISTVERSION= 6.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.invisible-island.net/${PORTNAME}/ \
|
|
https://invisible-mirror.net/archives/ncurses/
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Library for terminal-independent, full-screen output
|
|
WWW= https://invisible-island.net/ncurses/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= cpe pkgconfig shebangfix
|
|
CPE_VENDOR= gnu
|
|
USE_LDCONFIG= yes
|
|
|
|
SHEBANG_FILES= test/tracemunch
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --datadir=${PREFIX}/share \
|
|
--with-terminfo-dirs="${PREFIX}/share/terminfo:${LOCALBASE}/share/site-terminfo" \
|
|
--disable-home-terminfo \
|
|
--disable-overwrite \
|
|
--disable-root-environ \
|
|
--disable-lib-suffixes \
|
|
--disable-db-install \
|
|
--enable-bsdpad \
|
|
--enable-colorfgbg \
|
|
--enable-getcap \
|
|
--enable-pc-files \
|
|
--enable-rpath \
|
|
--enable-termcap \
|
|
--enable-widec \
|
|
--includedir=${PREFIX}/include/ncurses \
|
|
--program-prefix= \
|
|
--without-hashed-db \
|
|
--with-manpage-format=gzip \
|
|
--with-pkg-config-libdir=${PREFIX}/libdata/pkgconfig \
|
|
--with-pkg-config=yes \
|
|
--with-shared \
|
|
--with-termlib \
|
|
--without-manpage-renames
|
|
CONFIGURE_ENV= gnat_exists="no" cf_cv_ld_searchpath="${LOCALBASE}/lib /usr/lib /lib"
|
|
|
|
PLIST_SUB= ABI_VER=6 \
|
|
REL_VER=${DISTVERSION}
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES MANPAGES PROFILE TRACE
|
|
OPTIONS_DEFAULT= DOCS EXAMPLES MANPAGES
|
|
OPTIONS_SUB= yes
|
|
|
|
TRACE_DESC= Add trace() function to all models of ncurses
|
|
|
|
MANPAGES_CONFIGURE_WITH= manpages
|
|
PROFILE_CONFIGURE_WITH= profile
|
|
TRACE_CONFIGURE_ON= --with-trace
|
|
|
|
DOCS= ANNOUNCE doc/hackguide.doc doc/html/announce.html \
|
|
doc/html/hackguide.html doc/html/index.html \
|
|
doc/html/ncurses-intro.html doc/ncurses-intro.doc INSTALL NEWS \
|
|
README TO-DO
|
|
EXAMPLES= blue.c bs.6 bs.c cardfile.c cardfile.dat ditto.c dots.c \
|
|
filter.c firework.c firstlast.c gdc.6 gdc.c hanoi.c hashtest.c \
|
|
knight.c lrtest.c Makefile ncurses.c newdemo.c railroad.c \
|
|
rain.c README tclock.c test.priv.h testaddch.c testcurs.c \
|
|
testscanw.c view.c worm.c xmas.c
|
|
EXAMPLES_CPP= cursesapp.cc cursesapp.h cursesf.cc cursesf.h cursesm.cc \
|
|
cursesm.h cursesmain.cc cursesp.cc cursesp.h cursesw.cc \
|
|
cursesw.h cursslk.cc cursslk.h demo.cc etip.h internal.h \
|
|
Makefile NEWS PROBLEMS README-first
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS+= --with-debug
|
|
PLIST_SUB+= DEBUG=""
|
|
.else
|
|
PLIST_SUB+= DEBUG="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/misc/ncurses-config.in
|
|
|
|
post-install:
|
|
${RM} ${STAGEDIR}${PREFIX}/lib/libncurses.so
|
|
${ECHO} "INPUT(libncurses.so.${PORTVERSION:R} AS_NEEDED(-ltinfo))" > ${STAGEDIR}${PREFIX}/lib/libncurses.so
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.${DISTVERSION}
|
|
|
|
# backwards compatibility, remove 2021-07-02
|
|
${RLN} ${STAGEDIR}${PREFIX}/lib/libncurses.so ${STAGEDIR}${PREFIX}/lib/libncursesw.so
|
|
${RLN} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ncurses.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ncursesw.pc
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|