summaryrefslogtreecommitdiffstats
path: root/x11-wm/aewm++/Makefile
blob: 14931e20f13d6b33dc64f3f85825ea3f990823ad (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
# ex:ts=8
# Ports collection makefile for:	aewm++
# Date created:			Jan 17, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	aewm++
PORTVERSION=	1.0.17
CATEGORIES=	x11-wm
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	sapphire

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	The C++ version of aewm

USE_REINPLACE=	yes
USE_X_PREFIX=	yes
USE_GMAKE=	yes
MAKE_ENV=	CXX="${CXX}"
CXXFLAGS+=	-I${X11BASE}/include
LIBS+=		-L${X11BASE}/lib

MAN1=	aewm++.1x

post-patch:
	@${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
		s,^prefix,#prefix,g ; s,prefix,PREFIX,g ; \
		s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" ${WRKSRC}/Makefile

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