diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-08-31 19:48:38 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-08-31 19:48:38 +0000 |
commit | 9256f627177ddee2fc4f26a5d4fca693905f5fe7 (patch) | |
tree | c13aabe9b1db2e68f924d91b7a1c38fd97e72d58 /editors | |
parent | af9fb7d1d13217965ac1e00ad63f3d3c841c6d2e (diff) | |
download | ports-9256f627177ddee2fc4f26a5d4fca693905f5fe7.tar.gz ports-9256f627177ddee2fc4f26a5d4fca693905f5fe7.zip |
Notes
Diffstat (limited to 'editors')
-rw-r--r-- | editors/the/Makefile | 26 | ||||
-rw-r--r-- | editors/the/pkg-plist | 3 |
2 files changed, 27 insertions, 2 deletions
diff --git a/editors/the/Makefile b/editors/the/Makefile index f9a2d2141a1a..aacdf0b9a3c9 100644 --- a/editors/the/Makefile +++ b/editors/the/Makefile @@ -27,6 +27,26 @@ 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 @@ -38,10 +58,14 @@ 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.mk> +.include <bsd.port.post.mk> diff --git a/editors/the/pkg-plist b/editors/the/pkg-plist index 1c80f9570ca2..c815d6fb09ea 100644 --- a/editors/the/pkg-plist +++ b/editors/the/pkg-plist @@ -1,5 +1,6 @@ -bin/nthe +%%NCURSES%%bin/nthe bin/the +%%XCURSES%%bin/xthe share/THE/THE_Help.txt share/THE/abf.tld share/THE/append.the |