1999-11-11 05:15:58 -05:00
|
|
|
# New ports collection makefile for: librep
|
|
|
|
# Date created: 13 September 1999
|
|
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-12 02:21:15 -04:00
|
|
|
PORTNAME= librep
|
2001-10-15 06:02:34 -04:00
|
|
|
PORTVERSION= 0.15.1
|
1999-11-11 05:15:58 -05:00
|
|
|
CATEGORIES= lang
|
2000-06-14 09:21:38 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1999-11-11 05:15:58 -05:00
|
|
|
|
2001-05-11 12:36:50 -04:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1999-11-11 05:15:58 -05:00
|
|
|
|
2000-03-24 14:09:38 -05:00
|
|
|
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm \
|
|
|
|
intl.1:${PORTSDIR}/devel/gettext
|
2001-08-28 12:44:46 -04:00
|
|
|
.if !exists(/usr/lib/libgmp.so)
|
|
|
|
LIB_DEPENDS+= gmp.3:${PORTSDIR}/math/libgmp
|
|
|
|
.endif
|
2000-03-24 14:09:38 -05:00
|
|
|
|
2001-10-15 06:02:34 -04:00
|
|
|
PLIST_SUB= GNUHOST=${ARCH}-pc-freebsd${OSREL:C/\..*//} VERSION=${PORTVERSION}
|
1999-11-11 05:15:58 -05:00
|
|
|
|
2000-03-08 07:09:54 -05:00
|
|
|
USE_NEWGCC= yes
|
1999-11-11 05:15:58 -05:00
|
|
|
USE_GMAKE= yes
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-07-03 06:58:02 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2000-03-24 14:09:38 -05:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -lxpg4 -lintl"
|
2000-10-02 04:06:33 -04:00
|
|
|
CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal
|
2001-10-15 06:02:34 -04:00
|
|
|
CONFIGURE_TARGET= ${ARCH}-freebsd${OSREL:C/\..*//}
|
1999-11-11 05:15:58 -05:00
|
|
|
|
2000-10-02 04:06:33 -04: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>
|
|
|
|
|
|
|
|
.if ${XFREE86_VERSION} == 3
|
|
|
|
MTREE_FILE= /etc/mtree/BSD.x11.dist
|
|
|
|
.else
|
|
|
|
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
|
|
|
|
.endif
|
|
|
|
|
2001-05-28 08:41:39 -04:00
|
|
|
post-extract:
|
|
|
|
@${RM} ${WRKSRC}/test
|
|
|
|
|
2000-10-02 04:06:33 -04:00
|
|
|
.include <bsd.port.post.mk>
|