2002-10-08 09:24:51 +02:00
|
|
|
# New ports collection makefile for: gmrun
|
|
|
|
# Date created: 26 September 2002
|
|
|
|
# Whom: Adam Weinberger <adam@vectors.cx>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gmrun
|
2004-05-23 21:10:10 +02:00
|
|
|
PORTVERSION= 0.9.2
|
2010-01-20 19:59:52 +01:00
|
|
|
PORTREVISION= 7
|
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-20 15:52:04 +01:00
|
|
|
MAINTAINER= ports@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
|
|
|
|
2004-05-23 21:10:10 +02:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
|
|
|
|
|
|
|
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
|
2009-03-28 18:53:24 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2004-05-23 21:10:10 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
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:
|
|
|
|
.if ${OSVERSION} >= 900006
|
|
|
|
@${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:
|
2002-10-08 09:24:51 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${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>
|