blob: 4a1f685b270e91a015e2af01de660bccc6c98cf8 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# ex:ts=8
# Ports collection makefile for: wmapp
# Date Created: Apr 3, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= wmapp
PORTVERSION= 0.0.4.2
PORTREVISION= 2
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_X_PREFIX= yes
USE_REINPLACE= yes
USE_GMAKE= yes
CFLAGS+= -I${X11BASE}/include
ALL_TARGET= # empty
PLIST_FILES= lib/libwmapp.a
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
USE_GCC= 3.3
.endif
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} ${PREFIX}/include/wmapp
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/wmapp
@${FIND} ${PREFIX}/include/wmapp -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm include/wmapp" >> ${TMPPLIST}
${INSTALL_DATA} ${WRKSRC}/libwmapp.a ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in FAQ.txt README Widgets.txt
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
@${FIND} ${DOCSDIR} -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
.endif
.include <bsd.port.post.mk>
|