blob: d2eeddf16f93dcea5277d2bb4ec267ab5bbdf5c3 (
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
32
33
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= wmapp
PORTVERSION= 0.0.4.3
PORTREVISION= 2
CATEGORIES= x11-toolkits windowmaker
MASTER_SITES= http://starplot.org/wmapp/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= DockApp Graphics Library
OPTIONS_DEFINE= DOCS
USES= gmake
USE_XORG= x11 xpm
CFLAGS+= -I${LOCALBASE}/include
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:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/wmapp
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/wmapp
${INSTALL_DATA} ${WRKSRC}/libwmapp.a ${STAGEDIR}${PREFIX}/lib
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in FAQ.txt README Widgets.txt
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|