blob: 6148af80bb878440ca79d22429fd0c54a7bce612 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.6 2020/05/25 05:54:06 rillig Exp $
DISTNAME= mod_upload-0.8
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= https://ftp.espci.fr/pub/mod_upload/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ftp.espci.fr/pub/mod_upload/
COMMENT= High performance file upload helper for PHP
LICENSE= gnu-gpl-v2
APACHE_MODULE_NAME= ${DISTNAME:C/-.*//}.la
GNU_CONFIGURE= yes
GNU_CONFIGURE_APXS2= no
CONFIGURE_ARGS+= --with-apxs=${APXS}
CONFIGURE_ARGS+= --with-php-config=${BUILDLINK_PREFIX.php}/bin/php-config
USE_LIBTOOL= yes
DOC_DIR= share/doc/${DISTNAME:C/-.*//}
INSTALLATION_DIRS+= lib/httpd ${DOC_DIR}
PLIST_SUBST+= DOC_DIR=${DOC_DIR}
do-build:
cd ${WRKSRC} && ${MAKE}
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOC_DIR}
.include "../../lang/php/phpversion.mk"
.include "${PHPPKGSRCDIR}/buildlink3.mk"
.include "../../mk/apache.module.mk"
.include "../../mk/bsd.pkg.mk"
|