2006-07-02 20:22:32 -04:00
|
|
|
# New ports collection makefile for: pdcurses
|
|
|
|
# Date created: 1 Jul 2006
|
|
|
|
# Whom: alepulver
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pdcurses
|
2007-09-04 22:47:44 -04:00
|
|
|
PORTVERSION= 3.3
|
2009-03-17 22:30:17 -04:00
|
|
|
PORTREVISION= 3
|
2006-07-02 20:22:32 -04:00
|
|
|
CATEGORIES= devel
|
2007-05-03 20:35:51 -04:00
|
|
|
MASTER_SITES= SF
|
2006-07-02 20:22:32 -04:00
|
|
|
DISTNAME= PDCurses-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
|
|
|
COMMENT= Curses library implementation for Win32, DOS, OS/2 and X11
|
|
|
|
|
2009-03-17 22:30:17 -04:00
|
|
|
CONFLICTS= pdcurses-the-[0-9]*
|
|
|
|
|
2006-07-02 20:22:32 -04:00
|
|
|
USE_LDCONFIG= yes
|
2009-01-23 11:28:36 -05:00
|
|
|
USE_XORG= x11 xext sm ice xt xaw
|
2006-07-02 20:22:32 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2009-10-27 22:22:10 -04:00
|
|
|
MAKE_JOBS_UNSAFE=yes
|
2006-07-02 20:22:32 -04:00
|
|
|
|
|
|
|
OPTIONS= DEBUG "Enable debugging support" off \
|
|
|
|
LATIN1 "Enable support for Latin1 keys" off \
|
|
|
|
NEXTAW "Link with NeXtaw" off \
|
|
|
|
XAW3D "Link with Xaw3d" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.for opt in DEBUG LATIN1
|
|
|
|
. if defined(WITH_${opt})
|
|
|
|
CONFIGURE_ARGS+=--enable-${opt:L}
|
|
|
|
. endif
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.if defined(WITH_NEXTAW)
|
|
|
|
LIB_DEPENDS+= neXtaw.${XAWVER}:${PORTSDIR}/x11-toolkits/neXtaw
|
|
|
|
CONFIGURE_ARGS+=--with-nextaw
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_XAW3D)
|
|
|
|
LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
|
|
|
|
CONFIGURE_ARGS+=--with-xaw3d
|
|
|
|
.endif
|
|
|
|
|
2006-08-09 16:14:32 -04:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|$$(libdir)/$$(SHLPRE)$$(SHLFILE)$$(SHLPST)|&.2|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
2006-08-06 23:23:11 -04:00
|
|
|
post-install:
|
2006-08-09 16:14:32 -04:00
|
|
|
@cd ${PREFIX}/lib && ${LN} -sf libXCurses.so.2 libXCurses.so
|
2006-08-06 23:23:11 -04:00
|
|
|
|
2006-07-02 20:22:32 -04:00
|
|
|
.include <bsd.port.post.mk>
|