Merge branch 'staged'
[dports.git] / editors / asedit / Makefile
1 PORTNAME=       asedit
2 PORTVERSION=    1.3.2
3 PORTREVISION=   5
4 CATEGORIES=     editors
5 MASTER_SITES=   XCONTRIB/editors
6
7 MAINTAINER=     bofh@FreeBSD.org
8 COMMENT=        Text editor for X/Motif
9
10 DEPRECATED=     Last upstream release was in 2003
11 EXPIRATION_DATE=        2024-03-31
12
13 USES=           imake:notall motif tar:Z xorg
14 USE_XORG=       ice sm x11 xext xmu xt
15
16 PLIST_FILES=    bin/asedit \
17                 lib/X11/app-defaults/Asedit \
18                 lib/X11/app-defaults/Asedit-sgi \
19                 lib/X11/app-defaults/Asedit_em \
20                 lib/X11/app-defaults/Asedit_em-sgi \
21                 lib/X11/asedit.hlp \
22                 lib/X11/asedit_em.hlp \
23                 man/man1/asedit.1.gz
24
25 .include <bsd.port.pre.mk>
26
27 .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
28 CFLAGS+=        -Wno-error=int-conversion
29 .endif
30
31 post-patch:
32         @${REINPLACE_CMD} -e \
33                 '/^XMLIB/s|-lPW|| ; \
34                  /^DEFINES/s|-O ||' ${WRKSRC}/Imakefile
35
36 .include <bsd.port.post.mk>