Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2016 12:18:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 206490] www/obhttpd
Message-ID:  <bug-206490-13-eJXltkwdZj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206490-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206490-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206490

--- Comment #1 from s.adaszewski@gmail.com ---
Had to modify it a bit to work with a tagname:

--- Makefile    2015-12-14 18:16:54.000000000 +0100
+++ /tmp/Makefile.new   2016-01-22 13:10:47.501490000 +0100
@@ -9,11 +9,28 @@

 LICENSE=3D       BSD3CLAUSE

-WRKSRC=3D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
${WRKDIR}/${GH_PROJECT}-${PORTVERSION}/src/usr.sbin/${GH_PROJECT}
+
+OPTIONS_DEFINE=3D URL_REWRITE

 USE_GITHUB=3D    yes
+.if defined(PACKAGE_BUILDING)
+GH_ACCOUNT=3D    koue sadaszewski:sadaszewski
+GH_PROJECT=3D     httpd httpd:sadaszewski
+GH_TAGNAME=3D     4245a4:sadaszewski
+.else
 GH_ACCOUNT=3D    koue
+URL_REWRITE_GH_ACCOUNT=3D sadaszewski
+URL_REWRITE_GH_TAGNAME=3D 4245a4
+URL_REWRITE_DISTFILES=3D sadaszewski-httpd-4245a4_GH0.tar.gz
+# URL_REWRITE_DIST_NAME=3D sadaszewski-httpd-4245a4
 GH_PROJECT=3D    httpd
+.endif
+
+.if ${PORT_OPTIONS:URL_REWRITE}
+WRKSRC=3D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/src/usr.sbin/${GH_PROJECT}
+.else
+WRKSRC=3D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
${WRKDIR}/${GH_PROJECT}-${PORTVERSION}/src/usr.sbin/${GH_PROJECT}
+.endif

 USE_OPENSSL=3D   yes
 USE_RC_SUBR=3D   obhttpd

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206490-13-eJXltkwdZj>