44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2018/06/22 10:10:55 hauke Exp $
|
|
#
|
|
|
|
DISTNAME= libawl-${LIBAWL_VERSION}
|
|
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= -https://gitlab.com/davical-project/awl/repository/archive.tar.gz?ref=${GITLAB_TAG}
|
|
|
|
MAINTAINER= jym@NetBSD.org
|
|
HOMEPAGE= https://gitlab.com/davical-project/awl
|
|
COMMENT= PHP Andrew's Web Libraries
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-gettext-[0-9]*:../../devel/php-gettext
|
|
|
|
INSTALLATION_DIRS= ${LIBAWLDIR} ${LIBAWLDIR}/inc ${LIBAWLDIR}/dba
|
|
|
|
LIBAWL_VERSION= 0.59
|
|
GITLAB_TAG= r${LIBAWL_VERSION}
|
|
GITLAB_REV= ab7193ffd57860e7f6289930469345662ec02230
|
|
|
|
pre-patch:
|
|
${MV} ${WRKDIR}/awl-${GITLAB_TAG}-${GITLAB_REV} ${WRKSRC}
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/dba; \
|
|
for f in *; do \
|
|
${INSTALL_DATA} "$$f" \
|
|
${DESTDIR}${PREFIX}/${LIBAWLDIR}/dba; \
|
|
done;
|
|
|
|
cd ${WRKSRC}/inc; \
|
|
for f in *; do \
|
|
${INSTALL_DATA} "$$f" \
|
|
${DESTDIR}${PREFIX}/${LIBAWLDIR}/inc; \
|
|
done;
|
|
|
|
.include "../../devel/php-libawl/Makefile.common"
|
|
.include "../../mk/bsd.pkg.mk"
|