summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-01-23 09:05:10 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-01-23 09:05:10 +0000
commitec735e8cb0c62fd4f2bd3607ebf026853559e1ae (patch)
tree30599a63d8477b93e124b100949f7ecd7f0afc14
parentUpdate to 5.5.54 release. (diff)
Set DATADIR to a more unique location.
Reported by: Matthew D. Fuller Sponsored by: Absolight
-rw-r--r--www/smarty3/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/smarty3/Makefile b/www/smarty3/Makefile
index c2f006c42809..4811de8aeb02 100644
--- a/www/smarty3/Makefile
+++ b/www/smarty3/Makefile
@@ -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})