freebsd-ports/www/encode-explorer/Makefile
Martin Wilke b7df065165 - Convert to OptionsNG
- Trim header

Reviewed by:	bapt
2013-03-07 16:53:45 +00:00

43 lines
999 B
Makefile

# Created by: Frank Wall <fw@moov.de>
# $FreeBSD$
PORTNAME= encode
PORTVERSION= 5.0
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}${PKGNAMESUFFIX}/${PORTNAME}${PKGNAMESUFFIX}/${PORTNAME}${PKGNAMESUFFIX}_${PORTVERSION}
PKGNAMESUFFIX= -explorer
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}_${PORTVERSION}
MAINTAINER= fw@moov.de
COMMENT= A PHP script to browse, create folders, upload files etc
USE_PHP= yes
WANT_PHP_WEB= yes
USE_ZIP= yes
NO_BUILD= yes
OPTIONS_DEFINE= EXPERIMENTAL
EXPERIMENTAL_DESC= Experimental features
WRKSRC= ${WRKDIR}/${DISTNAME}
WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXPERIMENTAL}
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-index-php-experimental
.endif
do-install:
${MKDIR} ${WWWDIR}
${INSTALL} ${WRKSRC}/index.php ${WWWDIR}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CP} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>