freebsd-ports/x11/gnome-clipboard-daemon/Makefile
Tijl Coosemans 216b5a285f - Fix missing library problems when the linker enforces explicit linking
PR:		192062
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-08-26 14:06:08 +00:00

31 lines
716 B
Makefile

# $FreeBSD$
PORTNAME= gnome-clipboard-daemon
PORTVERSION= 1.0
PORTREVISION= 11
CATEGORIES= x11 gnome
MASTER_SITES= http://members.chello.nl/~h.lai/gnome-clipboard-daemon/
DISTNAME= ${PORTNAME:S,^gnome-,,}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Program that keeps the content of your X clipboard in memory
LICENSE= GPLv2
USES= pkgconfig tar:bzip2
USE_GNOME= gtk20
USE_XORG= x11
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}"
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${REINPLACE_CMD} \
-e 's|-o clipboard-daemon |-o ${PORTNAME} |' \
-e 's/gtk+-2\.0/& x11/' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>