2012-10-05 14:41:45 +02:00
|
|
|
# Created by: Adam Weinberger <adam@vectors.cx>
|
2002-10-08 09:24:51 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gmrun
|
2004-05-23 21:10:10 +02:00
|
|
|
PORTVERSION= 0.9.2
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 10
|
2002-10-08 09:24:51 +02:00
|
|
|
CATEGORIES= x11
|
2009-08-22 02:39:37 +02:00
|
|
|
MASTER_SITES= SF
|
2002-10-08 09:24:51 +02:00
|
|
|
|
2010-01-27 18:13:43 +01:00
|
|
|
MAINTAINER= garga@FreeBSD.org
|
2003-03-07 07:36:20 +01:00
|
|
|
COMMENT= A customizable program to run programs, with tab-completion
|
2002-10-08 09:24:51 +02:00
|
|
|
|
2012-07-03 00:24:21 +02:00
|
|
|
LIB_DEPENDS= popt:${PORTSDIR}/devel/popt
|
2004-05-23 21:10:10 +02:00
|
|
|
|
2012-08-03 17:34:45 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2004-05-23 21:10:10 +02:00
|
|
|
USE_GNOME= gtk20
|
2003-06-05 00:43:38 +02:00
|
|
|
USE_GMAKE= yes
|
2004-05-23 21:10:10 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2004-05-23 21:10:10 +02:00
|
|
|
CONFIGURE_ARGS= --disable-stlport
|
2003-05-18 11:55:25 +02:00
|
|
|
|
2004-05-23 21:10:10 +02:00
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/gmrun %%DATADIR%%/gmrunrc
|
|
|
|
PLIST_DIRS= %%DATADIR%%
|
2003-05-18 11:55:25 +02:00
|
|
|
|
2008-01-22 16:47:59 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-01-21 10:51:57 +01:00
|
|
|
post-patch:
|
2010-03-04 12:01:13 +01:00
|
|
|
.if ( ${OSVERSION} >= 800501 && ${OSVERSION} < 900000 ) || ( ${OSVERSION} >= 900006 )
|
2010-01-21 10:51:57 +01:00
|
|
|
@${REINPLACE_CMD} -e '/my_alphasort/s#const void\*#const struct dirent**#g' \
|
|
|
|
${WRKSRC}/src/gtkcompletionline.cc
|
|
|
|
.else
|
|
|
|
@${REINPLACE_CMD} -e '/select_executables_only(const /s#const ##' \
|
|
|
|
${WRKSRC}/src/gtkcompletionline.cc
|
|
|
|
.endif
|
|
|
|
|
2003-07-09 06:48:05 +02:00
|
|
|
post-install:
|
2012-08-03 17:34:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2002-10-08 09:24:51 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-05-23 21:10:10 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2002-10-08 09:24:51 +02:00
|
|
|
.endif
|
|
|
|
|
2008-01-22 16:47:59 +01:00
|
|
|
.include <bsd.port.post.mk>
|