Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2017 09:05:10 +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: r432208 - head/www/smarty3
Message-ID:  <201701230905.v0N95AAb023359@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Jan 23 09:05:10 2017
New Revision: 432208
URL: https://svnweb.freebsd.org/changeset/ports/432208

Log:
  Set DATADIR to a more unique location.
  
  Reported by:	Matthew D. Fuller
  Sponsored by:	Absolight

Modified:
  head/www/smarty3/Makefile   (contents, props changed)

Modified: head/www/smarty3/Makefile
==============================================================================
--- head/www/smarty3/Makefile	Mon Jan 23 08:57:33 2017	(r432207)
+++ head/www/smarty3/Makefile	Mon Jan 23 09:05:10 2017	(r432208)
@@ -4,6 +4,7 @@
 PORTNAME=	smarty
 PORTVERSION=	3.1.29
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	www
 PKGNAMESUFFIX=	3
 
@@ -22,6 +23,8 @@ SUB_FILES=	pkg-message
 USE_GITHUB=	yes
 GH_ACCOUNT=	smarty-php
 
+DATADIR=	${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
+
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	(cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})



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