Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2017 13:14:02 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448471 - in head: cad/repsnapper devel/papilio-loader emulators/open-vm-tools lang/phantomjs mail/mailhog security/krb5-devel
Message-ID:  <201708211314.v7LDE2Em011577@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Aug 21 13:14:02 2017
New Revision: 448471
URL: https://svnweb.freebsd.org/changeset/ports/448471

Log:
  Don't set WRKSRC when USE_GITHUB. Use the correct GH_ACCOUNT/GH_PROJECT,
  and use WRKSRC_SUBDIR.
  
  Sponsored by:	Absolight

Modified:
  head/cad/repsnapper/Makefile   (contents, props changed)
  head/devel/papilio-loader/Makefile   (contents, props changed)
  head/emulators/open-vm-tools/Makefile   (contents, props changed)
  head/lang/phantomjs/Makefile   (contents, props changed)
  head/mail/mailhog/Makefile   (contents, props changed)
  head/mail/mailhog/distinfo   (contents, props changed)
  head/security/krb5-devel/Makefile   (contents, props changed)

Modified: head/cad/repsnapper/Makefile
==============================================================================
--- head/cad/repsnapper/Makefile	Mon Aug 21 12:57:55 2017	(r448470)
+++ head/cad/repsnapper/Makefile	Mon Aug 21 13:14:02 2017	(r448471)
@@ -26,7 +26,6 @@ GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 INSTALL_TARGET=	install-strip
 
 post-install:

Modified: head/devel/papilio-loader/Makefile
==============================================================================
--- head/devel/papilio-loader/Makefile	Mon Aug 21 12:57:55 2017	(r448470)
+++ head/devel/papilio-loader/Makefile	Mon Aug 21 13:14:02 2017	(r448471)
@@ -1,35 +1,35 @@
 # Created by: mr@freebsd.org
 # $FreeBSD$
 
-PORTNAME=       papilio-loader
-PORTVERSION=    2.8
+PORTNAME=	papilio-loader
+PORTVERSION=	2.8
 PORTREVISION=	1
-CATEGORIES=     devel
+CATEGORIES=	devel
 
-MAINTAINER=     mr@FreeBSD.org
-COMMENT=        Load bit files to the Open Source Papilio FPGA boards
+MAINTAINER=	mr@FreeBSD.org
+COMMENT=	Load bit files to the Open Source Papilio FPGA boards
 
-LICENSE=        GPLv2
+LICENSE=	GPLv2
 
-LIB_DEPENDS=    libftdi1.so:devel/libftdi1
+LIB_DEPENDS=	libftdi1.so:devel/libftdi1
 
-USE_GITHUB=     yes
-GH_ACCOUNT=     GadgetFactory
+USE_GITHUB=	yes
+GH_ACCOUNT=	GadgetFactory
 GH_PROJECT=	Papilio-Loader
-GH_TAGNAME=     dd111c4
-WRKSRC=         ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/papilio-prog
+GH_TAGNAME=	dd111c4
+WRKSRC_SUBDIR=	papilio-prog
 
-USES=           autoreconf:autoconf pkgconfig gmake
-GNU_CONFIGURE=  yes
-CONFIGURE_ENV+=       libftdi1_CFLAGS="-I ${LOCALBASE}/include/libftdi1"
-CONFIGURE_ENV+=       libftdi1_LIBS="-L ${LOCALBASE}/lib -lftdi1"
+USES=		autoreconf:autoconf pkgconfig gmake
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV+=	libftdi1_CFLAGS="-I ${LOCALBASE}/include/libftdi1"
+CONFIGURE_ENV+=	libftdi1_LIBS="-L ${LOCALBASE}/lib -lftdi1"
 
 post-patch:
 	@echo "${DATADIR}"
 	${CP} ${FILESDIR}/Papilio_Programmer.sh ${WRKSRC}
 	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/Papilio_Programmer.sh
 
-BITFILES= bscan_spi_xc3s250e.bit bscan_spi_xc3s500e.bit bscan_spi_lx9.bit
+BITFILES=	bscan_spi_xc3s250e.bit bscan_spi_xc3s500e.bit bscan_spi_lx9.bit
 post-install:
 	${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/Papilio_Programmer.sh ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${DATADIR}

Modified: head/emulators/open-vm-tools/Makefile
==============================================================================
--- head/emulators/open-vm-tools/Makefile	Mon Aug 21 12:57:55 2017	(r448470)
+++ head/emulators/open-vm-tools/Makefile	Mon Aug 21 13:14:02 2017	(r448471)
@@ -41,7 +41,7 @@ ICU_CONFIGURE_WITH=	icu
 ICU_LIB_DEPENDS=	libicuuc.so:devel/icu
 OPENSSL_CONFIGURE_WITH=	ssl
 
-WRKSRC=			${WRKDIR}/${PORTNAME}-stable-${RELEASE_VER}/open-vm-tools/
+WRKSRC_SUBDIR=		open-vm-tools
 
 GNU_CONFIGURE=		yes
 USE_GNOME=		glib20

Modified: head/lang/phantomjs/Makefile
==============================================================================
--- head/lang/phantomjs/Makefile	Mon Aug 21 12:57:55 2017	(r448470)
+++ head/lang/phantomjs/Makefile	Mon Aug 21 13:14:02 2017	(r448471)
@@ -32,7 +32,6 @@ GH_TUPLE=	Vitallium:phantomjs-3rdparty-win:19051aa:msv
 		Vitallium:qtbase:b5cc008:qtbase/src/qt/qtbase \
 		Vitallium:qtwebkit:e7b7433:qtwebkit/src/qt/qtwebkit
 RUBY_NO_RUN_DEPENDS=	yes
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 PLIST_FILES=	bin/phantomjs
 NO_CCACHE=	yes
 

Modified: head/mail/mailhog/Makefile
==============================================================================
--- head/mail/mailhog/Makefile	Mon Aug 21 12:57:55 2017	(r448470)
+++ head/mail/mailhog/Makefile	Mon Aug 21 13:14:02 2017	(r448471)
@@ -16,6 +16,7 @@ USES=		go
 USE_RC_SUBR=	mailhog
 USE_GITHUB=	yes
 GH_ACCOUNT=	mailhog
+GH_PROJECT=	MailHog
 GH_SUBDIR=	src/github.com/mailhog/MailHog
 GH_TUPLE=	gorilla:pat:cf955c3:pat/src/github.com/gorilla/pat \
 		gorilla:context:08b5f42:context/src/github.com/gorilla/context \
@@ -37,8 +38,6 @@ GH_TUPLE=	gorilla:pat:cf955c3:pat/src/github.com/goril
 		philhofer:fwd:1612a29:fwd/src/github.com/philhofer/fwd \
 		golang:crypto:eb71ad9:crypto/src/golang.org/x/crypto \
 		go-mgo:mgo:3f83fa5:mgo/src/gopkg.in/mgo.v2
-
-WRKSRC=		${WRKDIR}/MailHog-${DISTVERSION}
 
 PLIST_FILES=	bin/${PORTNAME}
 SUB_FILES=	pkg-message

Modified: head/mail/mailhog/distinfo
==============================================================================
--- head/mail/mailhog/distinfo	Mon Aug 21 12:57:55 2017	(r448470)
+++ head/mail/mailhog/distinfo	Mon Aug 21 13:14:02 2017	(r448471)
@@ -1,6 +1,6 @@
-TIMESTAMP = 1503216575
-SHA256 (mailhog-mailhog-v1.0.0_GH0.tar.gz) = 472bf0895f33d49ec8f9bf665fdbda317e57855e846e38e6a6b8dcecdacd7bc5
-SIZE (mailhog-mailhog-v1.0.0_GH0.tar.gz) = 140803
+TIMESTAMP = 1503321114
+SHA256 (mailhog-MailHog-v1.0.0_GH0.tar.gz) = 472bf0895f33d49ec8f9bf665fdbda317e57855e846e38e6a6b8dcecdacd7bc5
+SIZE (mailhog-MailHog-v1.0.0_GH0.tar.gz) = 140803
 SHA256 (gorilla-pat-cf955c3_GH0.tar.gz) = 7c6dacd45161d6446496c94459398e991f3e717a479bff87c88520c4b0920840
 SIZE (gorilla-pat-cf955c3_GH0.tar.gz) = 4499
 SHA256 (gorilla-context-08b5f42_GH0.tar.gz) = 27045aa6da0128aded8e81242630f59a90e0b1840000d31a3b7c5c4e57559df6

Modified: head/security/krb5-devel/Makefile
==============================================================================
--- head/security/krb5-devel/Makefile	Mon Aug 21 12:57:55 2017	(r448470)
+++ head/security/krb5-devel/Makefile	Mon Aug 21 13:14:02 2017	(r448471)
@@ -64,7 +64,6 @@ LDFLAGS+=		-L${OPENSSLLIB}
 
 USE_RC_SUBR=		kpropd
 OPTIONS_SUB=		yes
-WRKSRC=			${WRKDIR}/${PORTNAME}-${HASH}
 WRKSRC_SUBDIR=		src
 PORTEXAMPLES=		kdc.conf krb5.conf services.append
 



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