Changeset View
Changeset View
Standalone View
Standalone View
Makefile
# Created by: Sergey A. Osokin <osa@FreeBSD.org> | |||||
# $FreeBSD$ | |||||
PORTNAME= redisearch | |||||
DISTVERSIONPREFIX= v | |||||
DISTVERSION= 1.4.24 | |||||
0mp: Unless PORTVERSION is necessary (which I don't think is the case here), I'd use DISTVERSION… | |||||
CATEGORIES= textproc | |||||
MAINTAINER= osa@FreeBSD.org | |||||
COMMENT= Full-text search over Redis | |||||
LICENSE= UNKNOWN | |||||
LICENSE_NAME= Redis Source Available License Agreement | |||||
LICENSE_FILE= ${WRKSRC}/LICENSE | |||||
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept | |||||
USES= cmake | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= RediSearch | |||||
Done Inline ActionsWrong place in the Makefile, it should happen after USES. See Chapter 15. Order of Variables in Port Makefiles. mat: Wrong place in the Makefile, it should happen after USES. See [[ https://www.freebsd. | |||||
Done Inline Actions@osa, try using portclippy and portfmt. They are very nice to work with and usually their suggestions are correct. As a result you might get a better understanding of the standard order of variables in our makefiles. :) 0mp: @osa, try using portclippy and portfmt. They are very nice to work with and usually their… | |||||
GH_PROJECT= RediSearch | |||||
CMAKE_ARGS= -DGIT_DESCRIBE_VERSION:STRING=${PKGVERSION} | |||||
PLIST_FILES= lib/redisearch.so | |||||
do-install: | |||||
${INSTALL_LIB} ${INSTALL_WRKSRC}/redisearch.so ${STAGEDIR}${PREFIX}/lib | |||||
.include <bsd.port.mk> |
Unless PORTVERSION is necessary (which I don't think is the case here), I'd use DISTVERSION here.