mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
ef7fd9a68a
- Remove BROKEN on ia64 statement, it was never a first-class architecture and was officially killed in -CURRENT recently - Do not manually strip *.so files in pre-install target, they're already installed stripped - Allow staging as regular user (or stripping fails due to BINMODE == 555) - Remove unneeded (and thus confusing) global suffixes in REINPLACE_CMD's - Fix bogus whitespace on Makefile line 17, sort and wrap long USES line
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= librep
|
|
PORTVERSION= 0.92.4
|
|
CATEGORIES= lang elisp gnome
|
|
MASTER_SITES= http://download.tuxfamily.org/librep/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Emacs Lisp like runtime library
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm \
|
|
libffi.so:${PORTSDIR}/devel/libffi \
|
|
libgmp.so:${PORTSDIR}/math/gmp
|
|
RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
|
|
|
|
USE_CSTD= gnu89
|
|
|
|
USES= 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>
|