diff options
author | arved <arved@FreeBSD.org> | 2005-11-11 19:33:25 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2005-11-11 19:33:25 +0800 |
commit | 9d97f998d8fd23bcd4c9a2dbe87cb0fa73399c76 (patch) | |
tree | cb1d742fe5a29bc557a46a6cd79ec3ef8488f81f /www/moodle2 | |
parent | 61569231672c86e311383482b344046b8c98fec4 (diff) | |
download | freebsd-ports-gnome-9d97f998d8fd23bcd4c9a2dbe87cb0fa73399c76.tar.gz freebsd-ports-gnome-9d97f998d8fd23bcd4c9a2dbe87cb0fa73399c76.tar.zst freebsd-ports-gnome-9d97f998d8fd23bcd4c9a2dbe87cb0fa73399c76.zip |
Unbreak. The port did not override PLIST, which is required for
dynamic plists.
This solution is different from the one submitted by the maintainer
and does not require a 600k pkg-plist file in the ports tree.
PR: 88812
Diffstat (limited to 'www/moodle2')
-rw-r--r-- | www/moodle2/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/moodle2/Makefile b/www/moodle2/Makefile index 038bdcc97bc8..3a5f6644462d 100644 --- a/www/moodle2/Makefile +++ b/www/moodle2/Makefile @@ -14,11 +14,8 @@ EXTRACT_SUFX= .tgz MAINTAINER= jmrueda@diatel.upm.es COMMENT= Course management system based on social constructionism -BROKEN= Modifies ports tree at build time - -WRKSRC= ${WRKDIR}/moodle - USE_PHP= session gd pcre +WRKSRC= ${WRKDIR}/moodle .if defined(WITH_MYSQL) USE_PHP+= mysql @@ -31,6 +28,7 @@ USE_PHP+= pgsql .include <bsd.port.pre.mk> NO_BUILD= yes +PLIST= ${WRKDIR}/plist MOODLEDIR?= www/data/moodle MOODLEDATADIR?= www/data/moodledata @@ -45,6 +43,8 @@ pre-everything:: post-patch: ####This is an old patched file. @${RM} -f ${WRKSRC}/lang/es_es/moodle.php.orig + +pre-install: @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${MOODLEDIR}?g" >> ${PLIST} @${ECHO} @dirrm ${MOODLEDATADIR} >> ${PLIST} |