svn commit: r432208 - head/www/smarty3
Mathieu Arnold
mat at FreeBSD.org
Mon Jan 23 09:05:11 UTC 2017
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})
More information about the svn-ports-all
mailing list