diff options
Diffstat (limited to 'www/mediawiki118/Makefile')
-rw-r--r-- | www/mediawiki118/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/www/mediawiki118/Makefile b/www/mediawiki118/Makefile index 4a7f0337123b..d42624bdd984 100644 --- a/www/mediawiki118/Makefile +++ b/www/mediawiki118/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mediawiki -PORTVERSION= 1.5.1 +PORTVERSION= 1.5.2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= wikipedia @@ -24,13 +24,7 @@ MEDIAWIKIDIR?= www/data-dist/mediawiki OPTIONS= PGSQL "Use PostgreSQL instead of MySQL" off \ LDAP "Use LDAP authentication" off -PORT_DBDIR?= /var/db/ports -LATEST_LINK= ${PORTNAME} -OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options - -.if exists(${OPTIONSFILE}) -.include "${OPTIONSFILE}" -.endif +.include <bsd.port.pre.mk> .if defined(WITH_PGSQL) USE_PHP+= pgsql @@ -54,4 +48,4 @@ post-install: | ${SED} -ne 's,^${WRKSRC},@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST} @${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |