blob: 04dfe8b8d19d5736fda3147c9936add2ca7e65a6 (
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
|
# New ports collection makefile for: XawPlus
# Date created: 30 January 2003
# Whom: DNPM <freebsd@falx.port5.com>
#
# $FreeBSD$
#
PORTNAME= XawPlus
PORTVERSION= 3.1.0
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= http://people.freenet.de/kra/XawPlus/
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A replacement for Xaw with a nicer 3-D look and some extensions
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_X_PREFIX= yes
USE_REINPLACE= yes
MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS} -fPIC -DHAS_WCHAR_H" \
INC_PATH="-I. -I${X11BASE}/include" LIB_PATH="-L${X11BASE}/lib"
ALL_TARGET= lib
INSTALLS_SHLIB= yes
post-patch:
@${REINPLACE_CMD} -e 's:so\.3\..:so.3:' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's:%%X11BASE%%:${X11BASE}:' ${WRKSRC}/test/Makefile
do-install:
@${MKDIR} ${PREFIX}/include/X11/XawPlus
${INSTALL_DATA} ${WRKSRC}/X11/XawPlus/*.h ${PREFIX}/include/X11/XawPlus
${INSTALL_DATA} ${WRKSRC}/libXawPlus.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/libXawPlus.so.3 ${PREFIX}/lib
${LN} -sf libXawPlus.so.3 ${PREFIX}/lib/libXawPlus.so
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test/Makefile ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test/*.c ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test/*.xpm ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|