mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
45 lines
1013 B
Makefile
45 lines
1013 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}
|
|
|
|
NO_STAGE= yes
|
|
.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>
|