1999-11-11 11:15:58 +01:00
|
|
|
# New ports collection makefile for: librep
|
|
|
|
# Date created: 13 September 1999
|
|
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-10-14 10:54:54 +02:00
|
|
|
# $MCom: ports/lang/librep/Makefile,v 1.2 2006/09/10 00:51:12 mezz Exp $
|
1999-11-11 11:15:58 +01:00
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= librep
|
2011-04-12 04:27:47 +02:00
|
|
|
PORTVERSION= 0.91.1
|
2003-10-19 10:07:22 +02:00
|
|
|
CATEGORIES= lang elisp gnome
|
2011-04-12 04:27:47 +02:00
|
|
|
MASTER_SITES= http://download.tuxfamily.org/librep/
|
1999-11-11 11:15:58 +01:00
|
|
|
|
2010-12-02 00:38:49 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An Emacs Lisp like runtime library
|
1999-11-11 11:15:58 +01:00
|
|
|
|
2007-06-30 07:37:52 +02:00
|
|
|
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \
|
2011-04-12 04:27:47 +02:00
|
|
|
ffi.5:${PORTSDIR}/devel/libffi \
|
|
|
|
gmp.10:${PORTSDIR}/math/gmp
|
2009-05-24 21:52:23 +02:00
|
|
|
RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
|
2000-03-24 20:09:38 +01:00
|
|
|
|
2011-04-12 04:27:47 +02:00
|
|
|
USE_XZ= yes
|
|
|
|
USE_GNOME= gnomehack
|
2004-02-04 05:36:30 +01:00
|
|
|
USE_GETTEXT= yes
|
1999-11-11 11:15:58 +01:00
|
|
|
USE_GMAKE= yes
|
2011-04-12 04:27:47 +02:00
|
|
|
USE_AUTOTOOLS= libtool
|
|
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
|
2000-10-02 10:06:33 +02:00
|
|
|
CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal
|
2011-04-12 04:27:47 +02:00
|
|
|
CONFIGURE_TARGET= ${GNUHOST}
|
|
|
|
USE_LDCONFIG= yes
|
1999-11-11 11:15:58 +01:00
|
|
|
|
2011-04-12 04:27:47 +02:00
|
|
|
PLIST_SUB= GNUHOST="${GNUHOST}" VERSION="${PORTVERSION}"
|
|
|
|
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
MAN1= rep.1 rep-remote.1 rep-xgettext.1 repdoc.1
|
2003-08-17 05:51:54 +02:00
|
|
|
INFO= librep
|
|
|
|
|
2011-04-12 04:27:47 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
GNUHOST= ${ARCH}-pc-freebsd${OSREL:C/\..*//}
|
|
|
|
|
2000-10-02 10:06:33 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2005-10-29 01:06:23 +02:00
|
|
|
|
|
|
|
.if ${ARCH} == ia64
|
2006-05-16 06:58:49 +02:00
|
|
|
BROKEN= Does not build on ia64
|
2005-10-29 01:06:23 +02:00
|
|
|
.endif
|
|
|
|
|
2011-04-12 04:27:47 +02:00
|
|
|
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
|
|
|
|
|
2000-10-02 10:06:33 +02:00
|
|
|
.include <bsd.port.post.mk>
|