aboutsummaryrefslogtreecommitdiff
path: root/www/mediawiki119
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-01-14 16:26:37 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-01-14 16:26:37 +0000
commit7f1b5fe4074f2a5d45f0947f80715355e94ad6e0 (patch)
tree4b3174ec3852880282cfe301b3b80f4563ef8349 /www/mediawiki119
parentb36f6b72e0f03416b1725c7e558f58ff7c922f09 (diff)
downloadports-7f1b5fe4074f2a5d45f0947f80715355e94ad6e0.tar.gz
ports-7f1b5fe4074f2a5d45f0947f80715355e94ad6e0.zip
Notes
Diffstat (limited to 'www/mediawiki119')
-rw-r--r--www/mediawiki119/Makefile7
-rw-r--r--www/mediawiki119/files/pkg-message.in (renamed from www/mediawiki119/pkg-message)0
2 files changed, 4 insertions, 3 deletions
diff --git a/www/mediawiki119/Makefile b/www/mediawiki119/Makefile
index 00498e764a8e..4634b425530d 100644
--- a/www/mediawiki119/Makefile
+++ b/www/mediawiki119/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mediawiki
PORTVERSION= 1.19.23
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/
PKGNAMESUFFIX= 119
@@ -21,6 +22,9 @@ MEDIAWIKIDIR?= www/mediawiki
NO_BUILD= yes
PLIST= ${WRKDIR}/plist
+SUB_FILES= pkg-message
+SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR}
+
OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAP MEMCACHED APC EACCEL XCACHE IMAGICK
OPTIONS_DEFAULT=MYSQL
@@ -77,7 +81,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR}
${CP} -r ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR}
-post-install:
- @${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE}
-
.include <bsd.port.mk>
diff --git a/www/mediawiki119/pkg-message b/www/mediawiki119/files/pkg-message.in
index d98978fe6903..d98978fe6903 100644
--- a/www/mediawiki119/pkg-message
+++ b/www/mediawiki119/files/pkg-message.in