diff options
Diffstat (limited to 'www/e107/Makefile')
-rw-r--r-- | www/e107/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/www/e107/Makefile b/www/e107/Makefile index 09d65a4f0119..2b60891327e3 100644 --- a/www/e107/Makefile +++ b/www/e107/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= e107 -PORTVERSION= 1.0.4 -PORTREVISION= 1 +PORTVERSION= 2.0 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20v${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION}_full @@ -22,13 +21,12 @@ SUB_FILES= pkg-message SUB_LIST= E107DIR=${E107DIR} E107DIR= www/e107 -post-extract: - @cd ${WRKDIR} && ${MKDIR} ${WRKSRC} - @cd ${WRKDIR} && ${MV} *.php ${WRKSRC} - @cd ${WRKDIR} && ${MV} e107_* ${WRKSRC} - @cd ${WRKDIR} && ${MV} e107.htaccess ${WRKSRC} - @cd ${WRKDIR} && ${MV} favicon.ico ${WRKSRC} - @cd ${WRKDIR} && ${MV} e107.robots.txt ${WRKSRC} +USES= dos2unix shebangfix +SHEBANG_FILES= cron.php e107_handlers/bounce_handler.php + +do-extract: + @${MKDIR} ${WRKSRC} + @${TAR} -yxf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKSRC} pre-install: @${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST} |