freebsd-ports/ports-mgmt/bpm/Makefile
Jean-Yves Lefort daa3b56d78 Fix runtime failure by linking against libpthread (GnomeVFS needs
pthread, and bpm may use GnomeVFS via GtkFileChooser).
2005-12-08 16:24:32 +00:00

33 lines
808 B
Makefile

# New ports collection makefile for: bpm
# Date created: 23 July 2004
# Whom: sethk
#
# $FreeBSD$
#
PORTNAME= bpm
PORTVERSION= 0.4.1b
PORTREVISION= 8
CATEGORIES= sysutils
MASTER_SITES= http://www.meowfishies.com/code/bpm/
EXTRACT_SUFX= .tgz
MAINTAINER= sethk@meowfishies.com
COMMENT= A graphical BSD ports collection manager
RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade
USE_X_PREFIX= yes
USE_GNOME= gtk20
USE_REINPLACE= yes
MAKE_ENV+= OSTYPE="${OPSYS}"
post-patch:
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s|-lintl|-lintl -L${LOCALBASE}/lib|g"
# GnomeVFS needs pthread; bpm may use GnomeVFS (via GtkFileChooser)
@${REINPLACE_CMD} -e 's|^CFLAGS+=|& ${PTHREAD_CFLAGS}|; \
s|^LDLIBS+=|& ${PTHREAD_LIBS}|' ${WRKSRC}/src/Makefile
.include <bsd.port.mk>