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$
|
|
|
|
#
|
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= librep
|
2003-06-01 02:51:02 +02:00
|
|
|
PORTVERSION= 0.16.2
|
2004-02-04 05:36:30 +01:00
|
|
|
PORTREVISION= 4
|
2003-10-19 10:07:22 +02:00
|
|
|
CATEGORIES= lang elisp gnome
|
2002-06-21 14:29:23 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= librep
|
1999-11-11 11:15:58 +01:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@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
|
|
|
|
2004-02-04 05:36:30 +01:00
|
|
|
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
|
2000-03-24 20:09:38 +01:00
|
|
|
|
2001-10-15 12:02:34 +02:00
|
|
|
PLIST_SUB= GNUHOST=${ARCH}-pc-freebsd${OSREL:C/\..*//} VERSION=${PORTVERSION}
|
1999-11-11 11:15:58 +01:00
|
|
|
|
2004-02-04 05:36:30 +01:00
|
|
|
USE_GETTEXT= yes
|
1999-11-11 11:15:58 +01:00
|
|
|
USE_GMAKE= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-07-03 12:58:02 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-03-24 20:09:38 +01:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-07-03 07:00:30 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lxpg4 -lintl ${PTHREAD_LIBS}"
|
2000-10-02 10:06:33 +02:00
|
|
|
CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal
|
2001-10-29 18:37:50 +01:00
|
|
|
CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//}
|
1999-11-11 11:15:58 +01:00
|
|
|
|
2003-08-17 05:51:54 +02:00
|
|
|
INFO= librep
|
|
|
|
|
2000-10-02 10:06:33 +02:00
|
|
|
# Don't use USE_X_PREFIX - the port doesn't really require X11 to run.
|
|
|
|
# The reason why it should be in X11BASE is that sawfish (primary user of
|
|
|
|
# librep) installs shared object into one of the librep's directories, so
|
|
|
|
# they have to live in the same BASE to make PLISTs working.
|
|
|
|
# This looks like a little hack, because we have to tweak MTREE_FILE as well,
|
|
|
|
# thus partially duplicating bsd.port.mk, but what other choices do we have???
|
|
|
|
PREFIX?= ${X11BASE}
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2002-04-01 04:44:16 +02:00
|
|
|
.if ${OSVERSION} > 500023
|
2003-11-27 06:28:17 +01:00
|
|
|
LIB_DEPENDS+= gmp.6:${PORTSDIR}/math/libgmp4
|
2003-11-27 20:40:08 +01:00
|
|
|
.else
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/stable-patch-src_numbers.c
|
2002-04-01 04:44:16 +02:00
|
|
|
.endif
|
2000-10-02 10:06:33 +02:00
|
|
|
|
2004-07-23 21:10:32 +02:00
|
|
|
.if ${X_WINDOW_SYSTEM:L} != xfree86-3
|
2000-10-02 10:06:33 +02:00
|
|
|
MTREE_FILE= /etc/mtree/BSD.x11.dist
|
|
|
|
.else
|
|
|
|
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
|
|
|
|
.endif
|
|
|
|
|
2001-05-28 14:41:39 +02:00
|
|
|
post-extract:
|
|
|
|
@${RM} ${WRKSRC}/test
|
|
|
|
|
2000-10-02 10:06:33 +02:00
|
|
|
.include <bsd.port.post.mk>
|