blob: 2ba128d007961ab6fdedb7ebaee8b88955f1eb9f (
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
37
38
39
40
41
|
PORTNAME= librep
PORTVERSION= 0.92.7
PORTREVISION= 5
CATEGORIES= lang elisp gnome
MASTER_SITES= http://download.tuxfamily.org/librep/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Emacs Lisp like runtime library
LICENSE= GPLv2
LIB_DEPENDS= libgdbm.so:databases/gdbm \
libffi.so:devel/libffi \
libgmp.so:math/gmp
RUN_DEPENDS= gtar:archivers/gtar
USE_CSTD= gnu89
USES= autoreconf gettext gmake libtool makeinfo pathfix pkgconfig readline \
shebangfix tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal \
--with-stack-direction=-1
SHEBANG_FILES= ${WRKSRC}/src/rep-xgettext.jl
SHEBANG_LANG= rep
rep_OLD_CMD= /usr/bin/rep
rep_CMD?= ${PREFIX}/bin/rep
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -pthread
INFO= librep
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/man/Makefile.in
@${REINPLACE_CMD} -E 's|(INSTALL_PROGRAM\))( [^-])|\1 -m 755\2|' \
${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>
|