summaryrefslogtreecommitdiffstats
path: root/ports-mgmt/bpm/Makefile
blob: be571b97473dfb4f9ccf56686bc9b066b0cc3457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	bpm
# Date created:				23 July 2004
# Whom:					sethk
#
# $FreeBSD$
#

PORTNAME=	bpm
PORTVERSION=	0.4.1b
PORTREVISION=	15
CATEGORIES=	ports-mgmt
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}/ports-mgmt/portupgrade \
  		gnomesu:${PORTSDIR}/security/libgnomesu \
		gdialog:${PORTSDIR}/x11/zenity

USE_GNOME=	gtk20 desktopfileutils

MAKE_ENV+=	OSTYPE="${OPSYS}"

SUB_FILES=	bpm.desktop

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

post-install:
	${INSTALL_DATA} ${WRKDIR}/bpm.desktop ${PREFIX}/share/applications/bpm.desktop
	@-update-desktop-database

.include <bsd.port.mk>
OpenPOWER on IntegriCloud