mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
0438143249
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true, as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107). Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when it is always needed, I renamed it, in one case, I merged two patches. Differential Revision: https://reviews.freebsd.org/D2209
36 lines
789 B
Makefile
36 lines
789 B
Makefile
# Created by: Adam Weinberger <adam@vectors.cx>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gmrun
|
|
PORTVERSION= 0.9.2
|
|
PORTREVISION= 10
|
|
CATEGORIES= x11
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= garga@FreeBSD.org
|
|
COMMENT= Customizable program to run programs, with tab-completion
|
|
|
|
LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USES= gmake pkgconfig
|
|
USE_GNOME= gtk20
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --disable-stlport
|
|
|
|
PORTDOCS= README
|
|
PLIST_FILES= bin/gmrun %%DATADIR%%/gmrunrc
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/my_alphasort/s#const void\*#const struct dirent**#g' \
|
|
${WRKSRC}/src/gtkcompletionline.cc
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|