mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= fluxcms
|
|
PORTVERSION= 1.6.0
|
|
PORTREVISION= 7
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://bitflux.org/download/ \
|
|
http://www.chruetertee.ch/files/download/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-snapshot-20090308
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= beat@FreeBSD.org
|
|
COMMENT= An extensible and flexible CMS based on PHP 5 and XML/XSLT
|
|
|
|
NO_BUILD= yes
|
|
FLUXCMSDIR= www/fluxcms
|
|
INSTALLDIR= ${PREFIX}/${FLUXCMSDIR}
|
|
|
|
PLIST_SUB= INSTALLDIR=${FLUXCMSDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
|
SUB_FILES= pkg-deinstall pkg-message
|
|
SUB_LIST= INSTALLDIR=${INSTALLDIR}
|
|
|
|
OPTIONS_DEFINE= TIDY
|
|
|
|
USE_PHP= dom xml simplexml iconv mysql xsl session pcre gd
|
|
|
|
DEFAULT_PHP_VER= 5
|
|
|
|
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORT_OPTIONS:MTIDY}
|
|
USE_PHP+= tidy
|
|
.endif
|
|
|
|
post-patch:
|
|
@${RM} ${WRKSRC}/install/dist/conf/config.xml.orig
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${INSTALLDIR}
|
|
@${CP} -R ${WRKSRC}/* ${STAGEDIR}${INSTALLDIR}
|
|
@${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${INSTALLDIR}
|
|
|
|
.include <bsd.port.post.mk>
|