1995-10-02 17:14:42 +01:00
|
|
|
# New ports collection makefile for: xcoral
|
2000-02-07 23:14:04 +01:00
|
|
|
# Date created: 1995/10/02
|
1995-10-02 17:14:42 +01:00
|
|
|
# Whom: erich@rrnet.com
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1995-10-02 17:14:42 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:25:54 +02:00
|
|
|
PORTNAME= xcoral
|
2008-04-26 14:52:03 +02:00
|
|
|
PORTVERSION= 3.47
|
1996-11-11 06:07:53 +01:00
|
|
|
CATEGORIES= editors
|
2002-06-11 02:37:18 +02:00
|
|
|
MASTER_SITES= http://xcoral.free.fr/
|
1995-10-02 17:14:42 +01:00
|
|
|
|
2000-04-24 00:59:51 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:12:51 +01:00
|
|
|
COMMENT= A multiwindow mouse-based text editor for X
|
1995-10-02 17:14:42 +01:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
2008-04-26 14:52:03 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-02-12 21:06:21 +01:00
|
|
|
CONFIGURE_ENV= LIBS="-lgnuregex"
|
2008-04-26 14:52:03 +02:00
|
|
|
CONFIGURE_ARGS= --libdir=${PREFIX}/share
|
2009-11-22 20:49:43 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2008-04-26 14:52:03 +02:00
|
|
|
|
2006-02-12 21:06:21 +01:00
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
|
|
|
|
|
|
|
post-patch:
|
2006-06-23 18:19:25 +02:00
|
|
|
@${REINPLACE_CMD} -e 's| regex\.c | |g ; \
|
|
|
|
s| -g | |g' ${WRKSRC}/Makefile.in
|
2006-02-12 21:06:21 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
2009-01-05 20:44:02 +01:00
|
|
|
's|"regex\.h"|<gnu/regex.h>|g' ${WRKSRC}/bm_search.c
|
1999-01-26 03:16:10 +01:00
|
|
|
|
|
|
|
do-install:
|
2002-06-11 02:37:18 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xcoral ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/SmacLib/* ${DATADIR}
|
1999-01-26 03:16:10 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-06-11 02:37:18 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/* ${DOCSDIR}
|
1999-01-26 03:16:10 +01:00
|
|
|
.endif
|
1996-10-10 18:02:04 +02:00
|
|
|
|
2009-01-05 20:44:02 +01:00
|
|
|
.include <bsd.port.mk>
|