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
|
|
|
|
PORTVERSION= 0.8.1
|
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2002-10-18 09:58:00 +02:00
|
|
|
MAINTAINER= adamw@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
|
|
|
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
|
|
|
|
|
2003-05-18 11:55:25 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500113
|
|
|
|
BROKEN= "Does not compile (bad C++ code)"
|
|
|
|
.endif
|
|
|
|
|
2002-10-08 09:24:51 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehack gtk12 glib12
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's|PACKAGE_DATA_DIR\"|\"${PREFIX}/etc|' ${WRKSRC}/src/prefs.cc
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/gmrun ${PREFIX}/bin
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/config/gmrunrc ${PREFIX}/etc
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2003-05-18 11:55:25 +02:00
|
|
|
.include <bsd.port.post.mk>
|