Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 10:01:59 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345197 - in head/irc/quirc: . files
Message-ID:  <201402201001.s1KA1xso082153@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Thu Feb 20 10:01:58 2014
New Revision: 345197
URL: http://svnweb.freebsd.org/changeset/ports/345197
QAT: https://qat.redports.org/buildarchive/r345197/

Log:
  - Convert to USES=tk
  - STAGE-clean

Added:
  head/irc/quirc/files/patch-data_Makefile.in   (contents, props changed)
Modified:
  head/irc/quirc/Makefile
  head/irc/quirc/pkg-plist

Modified: head/irc/quirc/Makefile
==============================================================================
--- head/irc/quirc/Makefile	Thu Feb 20 09:47:01 2014	(r345196)
+++ head/irc/quirc/Makefile	Thu Feb 20 10:01:58 2014	(r345197)
@@ -10,18 +10,20 @@ MASTER_SITES=	${MASTER_SITE_LOCAL:S/$/:l
 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>

Added: head/irc/quirc/files/patch-data_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/quirc/files/patch-data_Makefile.in	Thu Feb 20 10:01:58 2014	(r345197)
@@ -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:

Modified: head/irc/quirc/pkg-plist
==============================================================================
--- head/irc/quirc/pkg-plist	Thu Feb 20 09:47:01 2014	(r345196)
+++ head/irc/quirc/pkg-plist	Thu Feb 20 10:01:58 2014	(r345197)
@@ -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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402201001.s1KA1xso082153>