mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# Created by: alepulver
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pdcurses
|
|
PORTVERSION= 3.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF
|
|
PKGNAMESUFFIX= -the
|
|
DISTNAME= PDCurses-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Curses library implementation for Win32, DOS, OS/2, and X11
|
|
|
|
CONFLICTS= pdcurses-[0-9]*
|
|
|
|
USE_LDCONFIG= yes
|
|
USE_XORG= x11 xext sm ice xt xaw
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= DEBUG LATIN1 NEXTAW XAW3D
|
|
LATIN1_DESC= Enable support for Latin1 keys
|
|
NEXTAW_DESC= Link with NeXtaw
|
|
XAW3D_DESC= Link with Xaw3d
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.for opt in DEBUG LATIN1
|
|
. if ${PORT_OPTIONS:M${opt}}
|
|
CONFIGURE_ARGS+=--enable-${opt:L}
|
|
. endif
|
|
.endfor
|
|
|
|
.if ${PORT_OPTIONS:MNEXTAW}
|
|
LIB_DEPENDS+= neXtaw:${PORTSDIR}/x11-toolkits/neXtaw
|
|
CONFIGURE_ARGS+=--with-nextaw
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MXAW3D}
|
|
LIB_DEPENDS+= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
|
|
CONFIGURE_ARGS+=--with-xaw3d
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|$$(libdir)/$$(SHLPRE)$$(SHLFILE)$$(SHLPST)|&.2|' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
@cd ${PREFIX}/lib && ${LN} -sf libXCurses.so.2 libXCurses.so
|
|
|
|
.include <bsd.port.mk>
|