openbsd-ports/www/drupal6/FCKeditor/Makefile
2012-01-28 11:33:33 +00:00

23 lines
670 B
Makefile

# $OpenBSD: Makefile,v 1.12 2012/01/28 11:33:33 espie Exp $
COMMENT = FCKeditor for drupal
DISTNAME = fckeditor-6.x-2.1
PKGNAME = drupal6-fckeditor-2.1
REVISION = 3
DISTFILES = ${DISTNAME}.tar.gz \
FCKeditor_2.6.6.tar.gz:0
EXTRACT_ONLY = ${DISTNAME}.tar.gz
MASTER_SITES0 = ${MASTER_SITE_SOURCEFORGE:=fckeditor/}
post-extract:
cd ${WRKDIST} && tar zxf ${FULLDISTDIR}/FCKeditor_2.6.6.tar.gz
chmod -R u+wX ${WRKDIST}/fckeditor
post-install:
mv ${PREFIX}/${DRUPAL_MODS}/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php \
${PREFIX}/${DRUPAL_MODS}/fckeditor/fckeditor/editor/filemanager/connectors/php/default.config.php
.include <bsd.port.mk>