blob: bbb8c3bbb9db699c9bfef27d7522035a1c0fe2e0 (
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
|
# Created by: asami
# $FreeBSD$
PORTNAME= Xaw3d
PORTVERSION= 1.5E
PORTREVISION= 5
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://ftp.visi.com/users/hawkeyd/X/ \
ftp.slackware.com/pub/slackware/slackware_source/x/xaw3d/
MAINTAINER= ports@FreeBSD.org
COMMENT= 3-D Athena Widget set that looks like Motif
LICENSE= MIT
OPTIONS_DEFINE= DOCS NLS
WRKSRC= ${WRKDIR}/xc/lib/Xaw3d
USES= imake
USE_XORG= x11 xext xmu xt sm ice xpm
USE_LDCONFIG= yes
SUB_FILES= pkg-message
XAWVER= 8
SUB_LIST= XAWVER="${XAWVER}"
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
post-extract:
${MKDIR} ${WRKSRC}/X11/Xaw3d
cd ${WRKSRC}/X11/Xaw3d; ${LN} -sf ../../*.h .
.if ! ${PORT_OPTIONS:MNLS}
${REINPLACE_CMD} -e '/LINTLIBS =/s/=.*/=/' \
-e '/#ifdef XawI18nDefines/s//#if 0/' \
${WRKSRC}/Imakefile
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.XAW3D ${DOCSDIR}/
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|