aboutsummaryrefslogtreecommitdiffstats
path: root/devel/xwpe/Makefile
blob: a38f9d922269cf0ae30d75d8d931841a3fe4f9b6 (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
# Created by: David O'Brien (obrien@FreeBSD.org)
# $FreeBSD$

PORTNAME=   xwpe
PORTVERSION=    1.5.30a
CATEGORIES= devel
MASTER_SITES=   SUNSITE/apps/editors/X \
        http://www.identicalsoftware.com/xwpe/ \
        ftp://ftp.identicalsoftware.com/pub/linux/xwpe/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Borland-like IDE programming environment

USES=       desthack ncurses
DESTDIRNAME=    STAGEDIR
USE_XORG=   sm ice x11
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --libdir=\$${STAGEDIR}${PREFIX}/share
ALL_TARGET= # none

post-patch:
.for file in we_prog.c we_fl_unix.c
    @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
         s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/${file}
.endfor
    ${REINPLACE_CMD} -e 's|$$(INSTALL_PROGRAM)|${INSTALL_PROGRAM}|g' \
        ${WRKSRC}/Makefile.in
    ${REINPLACE_CMD} -e 's|$$(INSTALL_DATA)|${INSTALL_DATA}|g' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>