1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Convert to USES=tk

- STAGE-clean
This commit is contained in:
Pietro Cerutti 2014-02-20 10:01:58 +00:00
parent 735668549a
commit 2b0d56f528
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345197
3 changed files with 25 additions and 27 deletions

View File

@ -10,18 +10,20 @@ MASTER_SITES= ${MASTER_SITE_LOCAL:S/$/:local/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tcl/Tk IRC client for the X Window System
USE_TK= 84+
OPTIONS_DEFINE= DOCS
USES= tk
USE_XORG= xt
GNU_CONFIGURE= yes
MAKE_ENV+= DESTDIR=${STAGEDIR}
CFLAGS+= -Wno-deprecated-writable-strings
MYPORTDOCS= AUTHORS ChangeLog FAQ NEWS README doc/color.txt \
doc/dccresum.txt doc/links.txt doc/nickcomp.txt \
doc/quedit.txt doc/rfc1459.txt doc/tdcc.txt
PORTDOCS= *
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
@ -30,20 +32,18 @@ CONFIGURE_ARGS= --with-wish=${WISH} \
--with-tk-include-dir=${TK_INCLUDEDIR} \
--with-tcl-lib-dir=${TCL_LIBDIR} \
--with-tk-lib-dir=${TK_LIBDIR} \
--with-tcl-lib=tcl${TCL_VER:S/.//} \
--with-tk-lib=tk${TCL_VER:S/.//} \
--with-tcl-lib=tcl${TCL_SHLIB_VER} \
--with-tk-lib=tk${TCL_SHLIB_VER} \
--with-tcl-version=${TCL_VER}
post-install:
@${MKDIR} ${DATADIR}/common
${LN} -sf ../install.tcl ${DATADIR}/common
@${MKDIR} ${DATADIR}/themes
${LN} -sf ../default.tcl ${DATADIR}/themes
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/common
${LN} -sf ../install.tcl ${STAGEDIR}${DATADIR}/common
@${MKDIR} ${STAGEDIR}${DATADIR}/themes
${LN} -sf ../default.tcl ${STAGEDIR}${DATADIR}/themes
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${MYPORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- data/Makefile.in.orig 2014-02-20 11:02:35.000000000 +0100
+++ data/Makefile.in 2014-02-20 11:02:42.000000000 +0100
@@ -316,7 +316,7 @@
install-exec-local:
- rm -rf $(pkgdatadir)
+ rm -rf $(DESTDIR)$(pkgdatadir)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -1,16 +1,4 @@
bin/quirc
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/color.txt
%%PORTDOCS%%%%DOCSDIR%%/dccresum.txt
%%PORTDOCS%%%%DOCSDIR%%/links.txt
%%PORTDOCS%%%%DOCSDIR%%/nickcomp.txt
%%PORTDOCS%%%%DOCSDIR%%/quedit.txt
%%PORTDOCS%%%%DOCSDIR%%/rfc1459.txt
%%PORTDOCS%%%%DOCSDIR%%/tdcc.txt
%%DATADIR%%/VERSION
%%DATADIR%%/common/install.tcl
%%DATADIR%%/dal.tcl
@ -36,4 +24,3 @@ bin/quirc
@dirrm %%DATADIR%%/themes
@dirrm %%DATADIR%%/common
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%