summaryrefslogtreecommitdiff
path: root/x11-toolkits/wmapp/Makefile
blob: 8e19c44795d527ecf56b8dd8ffddc69acf444130 (plain) (blame)
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
# ex:ts=8
# Ports collection makefile for:	wmapp
# Date Created:			Apr 3, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	wmapp
PORTVERSION=	0.0.4.1
CATEGORIES=	x11-toolkits windowmaker
MASTER_SITES=	http://www.princeton.edu/~kmccarty/downloads/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A DockApp Graphics Library

USE_XLIB=	yes
USE_REINPLACE=	yes
USE_GMAKE=	yes
CFLAGS+=	-I${X11BASE}/include
MAKE_ENV=	LFLAGS="-L. -L${X11BASE}/lib -lXpm -lXext -lX11 -lwmapp"
ALL_TARGET=	# empty

post-patch:
	@${REINPLACE_CMD} -e "s|export |#export |g" ${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|g" ${WRKSRC}/xwrapper.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/libwmapp.a ${PREFIX}/lib

.include <bsd.port.mk>