1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/devel/xwpe/Makefile
Baptiste Daroussin 635db1894c Support stage
This port was using DESTDIR for a non standard purpose, to use STAGEDIR for
the DESTDIRNAME, use desthack to make the configure stagedir aware
2014-01-27 08:41:45 +00:00

33 lines
897 B
Makefile

# Created by: David O'Brien (obrien@FreeBSD.org)
# $FreeBSD$
PORTNAME= xwpe
PORTVERSION= 1.5.30a
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
http://www.identicalsoftware.com/xwpe/ \
ftp://ftp.identicalsoftware.com/pub/linux/xwpe/
MASTER_SITE_SUBDIR= apps/editors/X
MAINTAINER= gahr@FreeBSD.org
COMMENT= Borland-like IDE programming environment
USES= desthack gmake
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>