freebsd-ports/x11/gmrun/Makefile

46 lines
1 KiB
Makefile
Raw Normal View History

# Created by: Adam Weinberger <adam@vectors.cx>
# $FreeBSD$
PORTNAME= gmrun
PORTVERSION= 0.9.2
2012-06-01 07:26:28 +02:00
PORTREVISION= 10
CATEGORIES= x11
MASTER_SITES= SF
2010-01-27 18:13:43 +01:00
MAINTAINER= garga@FreeBSD.org
COMMENT= A customizable program to run programs, with tab-completion
LIB_DEPENDS= popt:${PORTSDIR}/devel/popt
OPTIONS_DEFINE= DOCS
USE_GNOME= gtk20
USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-stlport
2003-05-18 11:55:25 +02:00
PORTDOCS= README
PLIST_FILES= bin/gmrun %%DATADIR%%/gmrunrc
PLIST_DIRS= %%DATADIR%%
2003-05-18 11:55:25 +02:00
.include <bsd.port.pre.mk>
post-patch:
.if ( ${OSVERSION} >= 800501 && ${OSVERSION} < 900000 ) || ( ${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:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>