summaryrefslogtreecommitdiffstats
path: root/x11/apwal/Makefile
blob: daccd26781d3ffeb68ab6a2b366964b1bdb15ae6 (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
# New ports collection makefile for:	apwal
# Date created:			Nov 26, 2003
# Whom:				Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
#
# $FreeBSD$
#

PORTNAME=	apwal
PORTVERSION=	0.4.5
PORTREVISION=	1
CATEGORIES=	x11
MASTER_SITES=	http://apwal.free.fr/download/

MAINTAINER=	vs@FreeBSD.org
COMMENT=	Simple and powerful application launcher

USE_GNOME=	gtk20 libxml2
USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_REINPLACE=	yes
CFLAGS+=	${PTHREAD_CFLAGS}
LDFLAGS+=	${PTHREAD_LIBS}
MAKE_ENV+=	LDFLAGS="${LDFLAGS}"

WRKSRC=		${WRKDIR}/${PORTNAME}/src

PLIST_FILES=	bin/apwal bin/apwal-editor

post-patch:
	@${CP} ${FILESDIR}/group_member.c ${WRKSRC}
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share/gnome|g' ${WRKSRC}/cereimg.c ${WRKSRC}/../example/apwalrc.xml

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/apwal ${PREFIX}/bin
	${LN} -sf ${PREFIX}/bin/apwal ${PREFIX}/bin/apwal-editor

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