diff options
author | Martin Matuska <mm@FreeBSD.org> | 2007-12-31 12:12:28 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2007-12-31 12:12:28 +0000 |
commit | 1a22c8e36726537aa26aa9b07aef6e00e22097d4 (patch) | |
tree | 480696e25a53905891f9ea5252e605cab202c5a0 /lang/expect-devel | |
parent | - Fix the last tcl/tk entry for portaudit. (diff) |
- If defined WITHOUT_X11: fix build, install and add PKGNAMESUFFIX -nox11
Notes
Notes:
svn path=/head/; revision=204757
Diffstat (limited to 'lang/expect-devel')
-rw-r--r-- | lang/expect-devel/Makefile | 18 | ||||
-rw-r--r-- | lang/expect-devel/pkg-plist | 8 |
2 files changed, 19 insertions, 7 deletions
diff --git a/lang/expect-devel/Makefile b/lang/expect-devel/Makefile index f0753e2f612b..87e2b728facd 100644 --- a/lang/expect-devel/Makefile +++ b/lang/expect-devel/Makefile @@ -23,6 +23,7 @@ EXPECT_VER= ${PORTVERSION} .if !defined(WITHOUT_X11) USE_TK= 84+ .else +PKGNAMESUFFIX= -nox11 USE_TCL= 84+ .endif @@ -54,14 +55,25 @@ CFLAGS+= -I${TCL_INCLUDEDIR} -I${TCL_INCLUDEDIR}/generic .if !defined(NO_MAN_INSTALL) MAN1= autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \ - expect.1 kibitz.1 mkpasswd.1 multixterm.1 passmass.1 \ - tknewsbiff.1 unbuffer.1 xkibitz.1 + expect.1 kibitz.1 mkpasswd.1 passmass.1 unbuffer.1 xkibitz.1 .if !defined(WITHOUT_X11) -MAN1+= expectk.1 +MAN1+= expectk.1 multixterm.1 tknewsbiff.1 .endif MAN3= libexpect.3 .endif +post-patch: +.if defined(WITHOUT_X11) + @${REINPLACE_CMD} -e 's/TEA_PATH_TKCONFIG//g' \ + -e 's/TEA_LOAD_TKCONFIG//g' -e 's/TEA_PUBLIC_TK_HEADERS//g' \ + ${WRKSRC}/configure.in + @${REINPLACE_CMD} -e 's/expect expectk/expect/g' \ + -e 's/multixterm//g' -e 's/tknewsbiff//g' -e 's/tkpasswd//g' \ + -e 's/xpstat//g' -e 's/@TK_INCLUDES@//g' \ + -e 's|$$(INSTALL_DATA) $$(srcdir)/expectk.man|#|g' \ + ${WRKSRC}/Makefile.in +.endif + pre-configure: ${TOUCH} ${WRKSRC}/configure @cd ${WRKSRC}/testsuite && ${AUTOCONF} -I .. diff --git a/lang/expect-devel/pkg-plist b/lang/expect-devel/pkg-plist index 61d557e24081..4fe104d3a6fe 100644 --- a/lang/expect-devel/pkg-plist +++ b/lang/expect-devel/pkg-plist @@ -9,18 +9,18 @@ bin/ftp-rfc bin/kibitz bin/lpunlock bin/mkpasswd -bin/multixterm +%%XFILES%%bin/multixterm bin/passmass bin/rftp bin/rlogin-cwd bin/timed-read bin/timed-run -bin/tknewsbiff -bin/tkpasswd +%%XFILES%%bin/tknewsbiff +%%XFILES%%bin/tkpasswd bin/unbuffer bin/weather bin/xkibitz -bin/xpstat +%%XFILES%%bin/xpstat include/expect.h include/expect_comm.h include/expect_tcl.h |