mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
71 lines
1.7 KiB
Makefile
71 lines
1.7 KiB
Makefile
# New ports collection makefile for: THE
|
|
# Date created: 7 May 1999
|
|
# Whom: giffunip@asme.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= the
|
|
PORTVERSION= 3.2
|
|
CATEGORIES= editors
|
|
MASTER_SITES= SF/hessling-editor
|
|
DISTNAME= THE-${PORTVERSION}
|
|
|
|
PATCH_SITES= http://users.comlab.ox.ac.uk/ian.collier/distribution/
|
|
PATCHFILES= THE-3.1-rexximc.patch
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= "The Hessling Editor", an implementation of the xedit editor
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-ncurses \
|
|
--with-rexxincdir=${LOCALBASE}/include \
|
|
--with-rexxlibdir=${LOCALBASE}/lib
|
|
ALL_TARGET= all html
|
|
|
|
MAN1= the.1
|
|
|
|
OPTIONS= XAW3D "Enable Xaw3D" off \
|
|
XCURSES "Build XCurses (X11) version" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_XAW3D)
|
|
CONFIGURE_ARGS+=--with-xaw3d
|
|
LIB_DEPENDS+= Xaw3d.8:${PORTSDIR}/x11-toolkits/Xaw3d
|
|
.endif
|
|
|
|
.if defined(WITH_XCURSES)
|
|
CONFIGURE_ARGS+=--with-xcurses \
|
|
--with-cursesincdir=${LOCALBASE}/include \
|
|
--with-curseslibdir=${LOCALBASE}/lib
|
|
LIB_DEPENDS+= XCurses.2:${PORTSDIR}/devel/pdcurses
|
|
PLIST_SUB= XCURSES="" NCURSES="@comment "
|
|
.else
|
|
PLIST_SUB= XCURSES="@comment " NCURSES=""
|
|
.endif
|
|
|
|
.if defined(WITH_REXX_REGINA)
|
|
BUILD_DEPENDS+= regina:${PORTSDIR}/lang/rexx-regina
|
|
RUN_DEPENDS+= regina:${PORTSDIR}/lang/rexx-regina
|
|
CONFIGURE_ARGS+= --with-rexx=regina
|
|
.else
|
|
BUILD_DEPENDS+= rexx:${PORTSDIR}/lang/rexx-imc
|
|
RUN_DEPENDS+= rexx:${PORTSDIR}/lang/rexx-imc
|
|
CONFIGURE_ARGS+= --with-rexx=rexximc
|
|
.endif
|
|
|
|
post-install:
|
|
.if defined(WITH_XCURSES)
|
|
@${LN} -sf xthe ${PREFIX}/bin/the
|
|
.else
|
|
@${LN} -sf nthe ${PREFIX}/bin/the
|
|
.endif
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/THE
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/THE
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|