1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/x11/gcb/Makefile
2020-04-04 20:51:40 +00:00

38 lines
1.0 KiB
Makefile

# Created by: Nosov Artem <chip-set@mail.ru>
# $FreeBSD$
PORTNAME= gcb
PORTVERSION= 0.2.8
PORTREVISION= 9
CATEGORIES= x11
MASTER_SITES= http://freebsd.flatrate.ru/distfiles/ \
http://ccbsd9.csie.nctu.edu.tw/~cp76/gcb/
MAINTAINER= chip-set@mail.ru
COMMENT= GTK+ tool for managing x11 cut-buffers
BROKEN= unfetchable
DEPRECATED= Broken for more than 6 months
EXPIRATION_DATE= 2020-05-05
HAS_CONFIGURE= yes
USES= gnome pkgconfig tar:bzip2
USE_GNOME= gtk20
post-patch:
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!${SH}|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \
s|^\(CFLAGS\)=\(.*\)-g\ -O\(.*\)|\1+=\2 \3|' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/icons
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop \
${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>