2001-02-21 01:15:07 +01:00
|
|
|
# New ports collection makefile for: motor
|
|
|
|
# Date created: 20 February 2001
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= motor
|
2005-04-15 16:34:18 +02:00
|
|
|
PORTVERSION= 3.4.0
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 3
|
2001-02-21 01:15:07 +01:00
|
|
|
CATEGORIES= devel
|
2007-01-27 10:38:54 +01:00
|
|
|
MASTER_SITES= http://thekonst.net/download/
|
2001-02-21 01:15:07 +01:00
|
|
|
|
2004-01-18 11:50:15 +01:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= A powerful text mode based programming IDE
|
2001-02-21 01:15:07 +01:00
|
|
|
|
2007-01-27 10:38:54 +01:00
|
|
|
USE_BZIP2= yes
|
2001-02-21 01:15:07 +01:00
|
|
|
USE_GMAKE= yes
|
2004-07-27 10:43:05 +02:00
|
|
|
USE_ICONV= yes
|
2001-02-21 01:15:07 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-07-27 10:43:05 +02:00
|
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE}
|
|
|
|
PLIST_SUB= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
|
|
|
.endif
|
2001-08-08 19:33:46 +02:00
|
|
|
|
|
|
|
MAN1= motor.1
|
2001-02-21 01:15:07 +01:00
|
|
|
|
2006-08-18 19:16:36 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|zxvf|&o|' ${WRKSRC}/share/Makefile.in
|
2008-12-30 10:37:11 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|strndup|my_strndup|' ${WRKSRC}/parser/src/parser.c \
|
|
|
|
${WRKSRC}/parser/src/strfn.c ${WRKSRC}/parser/include/strfn.h
|
2006-08-18 19:16:36 +02:00
|
|
|
|
2002-05-16 13:22:06 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@(cd ${WRKSRC} ; ${INSTALL_DATA} FAQ README ${DOCSDIR})
|
|
|
|
.endif
|
|
|
|
|
2007-10-04 01:00:29 +02:00
|
|
|
.include <bsd.port.mk>
|