Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 09:52:05 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431364 - head/databases/postgresql-plruby
Message-ID:  <201701130952.v0D9q5vi083890@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jan 13 09:52:05 2017
New Revision: 431364
URL: https://svnweb.freebsd.org/changeset/ports/431364

Log:
  - Remove bogus (in presence of USE_GITHUB) USES=tar*
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/databases/postgresql-plruby/Makefile

Modified: head/databases/postgresql-plruby/Makefile
==============================================================================
--- head/databases/postgresql-plruby/Makefile	Fri Jan 13 09:28:19 2017	(r431363)
+++ head/databases/postgresql-plruby/Makefile	Fri Jan 13 09:52:05 2017	(r431364)
@@ -14,7 +14,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	CraigCottingham
 GH_TAGNAME=	f8d9ced
 
-USES+=		uidfix tar:bzip2 pgsql
+USES=		uidfix pgsql
 WANT_PGSQL=	server
 USE_RUBY=	yes
 USE_RUBY_EXTCONF=	yes
@@ -36,27 +36,25 @@ OPTIONS_DEFINE=	DOCS
 
 PKGMESSAGE=	${WRKDIR}/createlang.sql
 
-.include <bsd.port.options.mk>
-
 post-fetch:
 	cd ${PGSQL_PORTDIR} && ${MAKE} -DBATCH patch
 
 post-build:
 	${SED} 's,!!PLRUBY_SO!!,${RUBY_SITEARCHLIBDIR}/plruby.so,' \
 		${FILESDIR}/createlang.sql > ${WRKDIR}/createlang.sql
-.if ${PORT_OPTIONS:MDOCS}
+
+post-build-DOCS-on:
 	cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc
-.endif
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
 	${INSTALL_DATA} ${WRKDIR}/createlang.sql ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
 	cd ${WRKSRC}/ && ${COPYTREE_SHARE} docs/doc ${STAGEDIR}${RUBY_MODDOCDIR}/ README.markdown && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}/
 	${FIND} -ds ${STAGEDIR}${RUBY_MODDOCDIR} -type f -print | ${SED} -E -e \
 		's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST}
-.endif
 
 .include <bsd.port.pre.mk>
 



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