summaryrefslogtreecommitdiff
path: root/www/smarty/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-09-02 14:30:05 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-09-02 14:30:05 +0000
commitcbaee90a3b760ce4ef05e3227514d5c4a3911a6d (patch)
treef2568c88dba1c8bbb6758da43f300f93d19bc3c6 /www/smarty/Makefile
parent- Fix plist for NOPORTDOCS case, use DOCSDIR (diff)
- Update to 2.6.20
- Use PLIST_SUB instead of home-made recipe PR: ports/126889 Submitted by: Yi-Jheng Lin <yzlin at cs.nctu.edu.tw> Approved by: maintainer
Diffstat (limited to 'www/smarty/Makefile')
-rw-r--r--www/smarty/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/www/smarty/Makefile b/www/smarty/Makefile
index 22e3675ea46f..c17ca517ca8f 100644
--- a/www/smarty/Makefile
+++ b/www/smarty/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= smarty
-PORTVERSION= 2.6.19
+PORTVERSION= 2.6.20
CATEGORIES= www
MASTER_SITES= http://www.smarty.net/distributions/ \
http://www.smarty.net/distributions/manual/en/:manual
@@ -27,9 +27,7 @@ USE_PHP= pcre
WANT_PHP_WEB= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
-MSG_SRC= ${FILESDIR}/pkg-message
-
-MSG_SUB= DATADIR=${DATADIR} LOCALBASE=${LOCALBASE}
+SUB_FILES= pkg-message
do-install:
@${MKDIR} ${DATADIR}
@@ -50,8 +48,6 @@ do-install:
.endif
post-install:
- @${SED} ${MSG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${MSG_SRC} > \
- ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>