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