1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/x11/xnee/Makefile

59 lines
1.4 KiB
Makefile
Raw Normal View History

# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
# $FreeBSD$
PORTNAME= xnee
PORTVERSION= 3.17
CATEGORIES= x11
2007-12-15 07:48:08 +00:00
MASTER_SITES= GNU
MAINTAINER= pawel@FreeBSD.org
COMMENT= X11 events recorder and player
LICENSE= GPLv3
GNU_CONFIGURE= yes
USE_XORG= xtst
USES= gmake pathfix
CONFIGURE_ARGS= --enable-cli --disable-doc --disable-xinput2
INFO= ${PORTNAME}
OPTIONS_DEFINE= GNEE
OPTIONS_SUB= yes
2012-06-07 22:44:21 +00:00
GNEE_DESC= GUI frontend
GNEE_CONFIGURE_ENABLE= gui
GNEE_USES= pkgconfig
GNEE_USE= GNOME=gtk20
.include <bsd.port.options.mk>
2012-06-07 22:44:21 +00:00
.if ${PORT_OPTIONS:MGNEE}
DESKTOP_ENTRIES= "Gnee" "" "${PORTNAME}.png" \
"gnee" "Development;" true
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|$${libdir}/gnome-panel|$${prefix}/libexec|g ; \
s|$${libdir}/bonobo/|$${prefix}/libdata/bonobo/|g ; \
s|"CCC"|""|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
2007-12-15 07:48:08 +00:00
's|@PIXMAP_DIR@|pixmap|g ; \
s|@DOC_DIR@||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|make man|$$(MAKE) man|g' ${WRKSRC}/cnee/Makefile.in
@${REINPLACE_CMD} -e \
's|: install-docDATA|:|g' ${WRKSRC}/cnee/src/Makefile.in
@${REINPLACE_CMD} -e \
's|$$(libgnomeui_CFLAGS)||g ; \
s|$$(libgnomeui_LIBS)||g' ${WRKSRC}/gnee/src/Makefile.in
@${REINPLACE_CMD} -e \
's|src test|src|g' ${WRKSRC}/libxnee/Makefile.in
post-install:
2013-10-11 18:50:18 +00:00
${INSTALL_DATA} ${WRKSRC}/doc/xnee.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
.include <bsd.port.mk>