1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/databases/sqlite-ext-regexp/Makefile
2021-04-06 16:31:07 +02:00

40 lines
1.1 KiB
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
PORTNAME= sqlite-ext-regexp
PORTVERSION= 3.8.11.1
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= https://www.sqlite.org/2015/ http://www2.sqlite.org/2015/ http://www3.sqlite.org/2015/
DISTNAME= sqlite-src-${PORTVERSION:S|8.|8|:S|.|0|g}
DIST_SUBDIR= sqlite-ext
MAINTAINER= yuri@FreeBSD.org
COMMENT= Regular-expression matcher using NFA engine for SQLite
LICENSE= public
LICENSE_NAME= Public Domain
LICENSE_TEXT= Description of the license can be obtained from the following URL: http://www.sqlite.org/copyright.html
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= sqlite:3 zip
NO_WRKSUBDIR= yes
SRCFILE= ${DISTNAME}/ext/misc/regexp.c
LIBFILE= libregexp.so
INST_DIR= ${PREFIX}/libexec/${DIST_SUBDIR}
EXTRACT_AFTER_ARGS= ${SRCFILE}
PLIST_FILES= libexec/${DIST_SUBDIR}/${LIBFILE}
CFLAGS+= -I${PREFIX}/include -fPIC -shared
do-build:
@cd ${WRKSRC} && ${CC} ${CFLAGS} ${SRCFILE} -o ${LIBFILE}
do-install:
${INSTALL} -d ${STAGEDIR}${PREFIX}/libexec/${DIST_SUBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/${LIBFILE} ${STAGEDIR}${INST_DIR}
.include <bsd.port.mk>