diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2017-01-23 09:05:10 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2017-01-23 09:05:10 +0000 |
commit | ec735e8cb0c62fd4f2bd3607ebf026853559e1ae (patch) | |
tree | 30599a63d8477b93e124b100949f7ecd7f0afc14 | |
parent | Update 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/Makefile | 3 |
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}) |