Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2017 14:42:47 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430964 - head/www/gitea
Message-ID:  <201701091442.v09Eglnk024464@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Jan  9 14:42:46 2017
New Revision: 430964
URL: https://svnweb.freebsd.org/changeset/ports/430964

Log:
  Convert to options variable helper
  
  - Add LICENSE_FILE
  
  Approved by:	portmgr (blanket)

Modified:
  head/www/gitea/Makefile

Modified: head/www/gitea/Makefile
==============================================================================
--- head/www/gitea/Makefile	Mon Jan  9 14:42:42 2017	(r430963)
+++ head/www/gitea/Makefile	Mon Jan  9 14:42:46 2017	(r430964)
@@ -10,6 +10,7 @@ MAINTAINER=	stb@lassitu.de
 COMMENT=	Compact self-hosted Git service
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	git:devel/git
 
@@ -34,16 +35,9 @@ SQLITE=		Add SQLite as database backend
 
 OPTIONS_DEFAULT=	${OPTIONS_DEFINE}
 
-.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MCERT}
-GO_TAGS+=	cert
-.endif
-.if ${PORT_OPTIONS:MPAM}
-GO_TAGS+=	pam
-.endif
-.if ${PORT_OPTIONS:MSQLITE}
-GO_TAGS+=	sqlite
-.endif
+CERT_VARS=	GO_TAGS+=cert
+PAM_VARS=	GO_TAGS+=pam
+SQLITE_VARS=	GO_TAGS+=sqlite
 
 do-install:
 	${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin



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