freebsd-ports/x11/tilda/Makefile
Adam Weinberger a35c8f2f6d Fix build on -current.
This particular fixup could probably be applied across-the-board for
GNU configure.
2014-08-16 16:54:49 +00:00

46 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= tilda
PORTVERSION= 0.9.6
PORTREVISION= 6
CATEGORIES= x11
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Drop down x11 terminal with transparency support
LICENSE= GPLv2
LIB_DEPENDS= libconfuse.so:${PORTSDIR}/devel/libconfuse
GNU_CONFIGURE= yes
USE_GNOME= gtk20 libglade2 vte
USES= gmake gettext pkgconfig
DOCS= AUTHORS ChangeLog README TODO
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|ps -C tilda -o pid=|pgrep tilda|' \
${WRKSRC}/src/tilda.c
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
${WRKSRC}/src/tomboykeybinder.h
@${REINPLACE_CMD} -e 's|-R$$found_dir|-Wl,-rpath,$$found_dir|g' \
${WRKSRC}/configure
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
@${ECHO_MSG} ""
@${ECHO_MSG} ""
@${ECHO_MSG} " ATTENTION:"
@${ECHO_MSG} " If you are upgrade from version 0.09.1 or below,"
@${ECHO_MSG} " you'll need to delete your old config files and "
@${ECHO_MSG} " make them again."
@${ECHO_MSG} ""
@${ECHO_MSG} ""
.include <bsd.port.mk>