freebsd-ports/lang/librep/Makefile
Armin Pirkovitsch d16d2ca423 - Update lang/librep to 0.92.3
- Remove shlib versions
 - Add USE_READLINE and USES= pkgconfig
 - Update CPPFLAGS and LDFLAGS
 - Update pkg-descr

- Update x11-toolkits/rep-gtk2 to 0.90.8.1

- Update x11-wm/sawfish to 1.9.1
 - Add ART20 license and set LICENSE_COMB to multi
 - Update USE_XORG to include xtst
 - Add USES= pkgconfig
 - Add PORTSCOUT to exclude unstable releases

- Trim Makefile headers
- Update MASTER_SITES

PR:           ports/170173
Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
Approved by:  beat (mentor)
2013-04-30 17:43:43 +00:00

51 lines
1.1 KiB
Makefile

# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
# $FreeBSD$
PORTNAME= librep
PORTVERSION= 0.92.3
CATEGORIES= lang elisp gnome
MASTER_SITES= http://download.tuxfamily.org/librep/%SUBDIR%/
MASTER_SITE_SUBDIR= . Archive
MAINTAINER= ports@FreeBSD.org
COMMENT= Emacs Lisp like runtime library
LICENSE= GPLv2
LIB_DEPENDS= gdbm:${PORTSDIR}/databases/gdbm \
ffi:${PORTSDIR}/devel/libffi \
gmp:${PORTSDIR}/math/gmp
RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
USE_CSTD= gnu89
USE_XZ= yes
USES= gettext pathfix pkgconfig
USE_READLINE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal \
--with-stack-direction=-1
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib -pthread
MANCOMPRESSED= yes
MAN1= rep.1 rep-remote.1 rep-xgettext.1 repdoc.1
INFO= librep
.include <bsd.port.pre.mk>
.if ${ARCH} == ia64
BROKEN= Does not build on ia64
.endif
post-patch:
@${REINPLACE_CMD} -e \
'/GDBM_LIBS/s|"-lgdbm"|"$$LIBS -lgdbm"|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|/share/man/|/man/|g' ${WRKSRC}/man/Makefile.in
.include <bsd.port.post.mk>