1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/deskutils/gucharmap/Makefile
Joe Marcus Clarke 7f203fae3e * Add a missing dependency on popt [1]
* Convert to new GNOME infrastructure

Reported by:	bento [1]
2003-04-11 23:38:47 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: gucharmap
# Date created: 02 Mar 2003
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gucharmap
PORTVERSION= 0.4.0
PORTREVISION= 1
CATEGORIES= misc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.4
DIST_SUBDIR= gnome2
MAINTAINER= marcus@FreeBSD.org
COMMENT= A Unicode/ISO10646 character map and font viewer
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gtk20
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>