Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2014 20:13:36 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372613 - in head/x11/xclip: . files
Message-ID:  <201411152013.sAFKDapj007154@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sat Nov 15 20:13:35 2014
New Revision: 372613
URL: https://svnweb.freebsd.org/changeset/ports/372613
QAT: https://qat.redports.org/buildarchive/r372613/

Log:
  - Remove patchfile and remove autotools
  - Strip installed binary
  - Adopt port
  - Bump portrevision

Deleted:
  head/x11/xclip/files/
Modified:
  head/x11/xclip/Makefile

Modified: head/x11/xclip/Makefile
==============================================================================
--- head/x11/xclip/Makefile	Sat Nov 15 19:45:27 2014	(r372612)
+++ head/x11/xclip/Makefile	Sat Nov 15 20:13:35 2014	(r372613)
@@ -3,27 +3,30 @@
 
 PORTNAME=	xclip
 PORTVERSION=	0.12
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	johans@FreeBSD.org
 COMMENT=	Interface to X selections ("the clipboard") from the command line
 
 LICENSE=	GPLv2
 
-USE_AUTOTOOLS=	autoconf:env aclocal:env automake:env
 USE_XORG=	x11 xmu
-USES=	gmake
+USES=		gmake
 GNU_CONFIGURE=	yes
-
-PLIST_FILES=	bin/xclip bin/xclip-copyfile bin/xclip-cutfile bin/xclip-pastefile man/man1/xclip.1.gz man/man1/xclip-copyfile.1.gz
-
-pre-configure:
-	cd ${WRKSRC}; ./bootstrap
+CONFIGURE_ENV+=	ac_cv_header_X11_Xmu_Atoms_h=yes \
+		ac_cv_header_X11_Intrinsic_h=yes \
+		ac_cv_lib_Xmu_XmuClientWindow=yes
+
+PLIST_FILES=	bin/xclip bin/xclip-copyfile bin/xclip-cutfile \
+		bin/xclip-pastefile \
+		man/man1/xclip.1.gz man/man1/xclip-copyfile.1.gz
 
 post-patch:
-	${REINPLACE_CMD} 's,mktemp,mktemp -t xclip,' \
-		${WRKSRC}/xclip-copyfile
+	${REINPLACE_CMD} 's,mktemp,mktemp -t xclip,' ${WRKSRC}/xclip-copyfile
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xclip
 
 .include <bsd.port.mk>



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