blob: aeb9b845c3631d92a8dfde1c9fcf1dce88d4ac6c (
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
36
|
PORTNAME= libgnuregex
PORTVERSION= 6.0
CATEGORIES= devel
MASTER_SITES= # Nothing to fetch
DISTFILES= # Nothing to fetch
MAINTAINER= kevans@FreeBSD.org
COMMENT= GNU Regex Library
LICENSE= LGPL20+
EXTRACT_DEPENDS= gnulib>0:devel/gnulib
USES= uidfix
USE_LDCONFIG= yes
MAKE_ENV+= INCLUDEDIR="${PREFIX}/include" LIBDIR="${PREFIX}/lib"
REGEX_FILES= lib/regex.c \
lib/regex.h \
lib/regex_internal.c \
lib/regex_internal.h \
lib/regexec.c \
lib/regcomp.c
do-extract:
${MKDIR} ${WRKSRC}
${CP} -a ${REGEX_FILES:C,^,${LOCALBASE}/share/gnulib/,} ${WRKSRC}
${CP} -a ${FILESDIR}/config.h ${FILESDIR}/gnuregex.h \
${FILESDIR}/Makefile ${WRKSRC}
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/gnu
.include <bsd.port.mk>
|