2003-03-02 22:05:41 +01:00
|
|
|
# New ports collection makefile for: gucharmap
|
|
|
|
# Date created: 02 Mar 2003
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gucharmap
|
2003-04-04 09:37:39 +02:00
|
|
|
PORTVERSION= 0.4.0
|
2003-04-12 01:38:47 +02:00
|
|
|
PORTREVISION= 1
|
2003-03-02 22:05:41 +01:00
|
|
|
CATEGORIES= misc gnome
|
2003-04-04 09:37:39 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.4
|
|
|
|
DIST_SUBDIR= gnome2
|
2003-03-02 22:05:41 +01:00
|
|
|
|
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
|
|
|
COMMENT= A Unicode/ISO10646 character map and font viewer
|
|
|
|
|
2003-04-12 01:38:47 +02:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
2003-03-02 22:05:41 +01:00
|
|
|
|
2003-04-04 09:37:39 +02:00
|
|
|
USE_BZIP2= yes
|
2003-03-02 22:05:41 +01:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2003-04-12 01:38:47 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack gtk20
|
2003-03-02 22:05:41 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${X11BASE}/libdata/pkgconfig/libgnomeui-2.0.pc) || \
|
|
|
|
defined(WITH_GNOME)
|
|
|
|
LIB_DEPENDS+= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
|
|
|
|
PKGNAMESUFFIX= -gnome
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --disable-gnome
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|