mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
cf118ccf87
Reported by: lwhsu
24 lines
502 B
Makefile
24 lines
502 B
Makefile
PORTNAME= aml
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.2.0
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= Another Main Loop
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= compiler:c11 meson pkgconfig
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
GH_ACCOUNT= any1
|
|
|
|
post-patch:
|
|
# Extract (snapshot) version from the port instead of meson.build
|
|
@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
|
|
-e '/project_version/s/@0@/${DISTVERSIONFULL}/' \
|
|
${WRKSRC}/meson.build
|
|
|
|
.include <bsd.port.mk>
|