1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/editors/xcoral/Makefile
Li-Wen Hsu 188d79b859 - Update to version 3.47
PR:		ports/123083
Submitted by:	KATO Tsuguru <tkato432 AT yahoo.com>
2008-04-26 12:52:03 +00:00

47 lines
1014 B
Makefile

# New ports collection makefile for: xcoral
# Date created: 1995/10/02
# Whom: erich@rrnet.com
#
# $FreeBSD$
#
PORTNAME= xcoral
PORTVERSION= 3.47
CATEGORIES= editors
MASTER_SITES= http://xcoral.free.fr/
MAINTAINER= ports@FreeBSD.org
COMMENT= A multiwindow mouse-based text editor for X
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-lgnuregex"
CONFIGURE_ARGS= --libdir=${PREFIX}/share
PLIST_SUB= VERSION="${PORTVERSION}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 502010
GNU_REGEX_H= gnu/regex.h
.else
GNU_REGEX_H= gnuregex.h
.endif
post-patch:
@${REINPLACE_CMD} -e 's| regex\.c | |g ; \
s| -g | |g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|"regex\.h"|<${GNU_REGEX_H}>|g' ${WRKSRC}/bm_search.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xcoral ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/SmacLib/* ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Doc/* ${DOCSDIR}
.endif
.include <bsd.port.post.mk>